From 8009fef12cb88c5d4944bdad9a1e641c282df303 Mon Sep 17 00:00:00 2001
From: Bill Spitzak
Date: Wed, 3 Feb 1999 08:43:35 +0000
Subject: Put Fl::grab() into it's own source file. Rewritten as suggested so
that it takes a window pointer, and grab(0) releases. You can now call grab
repeatedly with the same or different values without it failing. The old
Fl::grab() and Fl::release() are emulated in inline functions in Fl.H
Added Fl_Menu_::copy(Fl_Menu_Item*), which will be useful for fluid, although
that use is nyi.
Fixes and cleanup to the code for Fl_Menu_::add(...).
git-svn-id: file:///fltk/svn/fltk/trunk@268 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
---
documentation/Fl_Menu_.html | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
(limited to 'documentation')
diff --git a/documentation/Fl_Menu_.html b/documentation/Fl_Menu_.html
index 3120ccb76..69f5b1efc 100644
--- a/documentation/Fl_Menu_.html
+++ b/documentation/Fl_Menu_.html
@@ -40,20 +40,21 @@ methods to build it dynamically.
|
|
+- size
- test_shortcut
- text
- textcolor
@@ -77,6 +78,9 @@ and label string. The default boxtype is FL_NO_BOX.
void Fl_Menu_::menu(const Fl_Menu_Item*)
Get or set the menu array directly. Setting it to NULL
indicates that you want the widget to allocate its own array.
+
+ Set the menu array to a copy of the passed array. This copy will be
+ deleted when the Fl_Menu_ is deleted.
--
cgit v1.2.3
|