summaryrefslogtreecommitdiff
path: root/documentation/Fl_Menu_.html
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2004-03-01 02:05:02 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2004-03-01 02:05:02 +0000
commitc5d30baf60c5b8acd81a6fa5dd5ea0b2392de10e (patch)
tree2d2e8de45c1b2c2e8a08acb7fe41b85d2c911c4d /documentation/Fl_Menu_.html
parent2cbbe8180d5a986f69c94f22fc1fa966985b7527 (diff)
Documentation updates (STR #245, STR #250, STR #277, STR #281)
Fl_Preferences incorrectly created the preferences directory before necessary (STR #247) The WIN32 project files still defined the (obsolete) FL_STATIC constant (STR #279) Fl_Text_Display::buffer() did not support NULL values, making it impossible to clean up text buffers from a subclass (STR #295) Fl_Text_Display did not support a NULL unfinishedStyleCB function (STR #241) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3219 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'documentation/Fl_Menu_.html')
-rw-r--r--documentation/Fl_Menu_.html20
1 files changed, 15 insertions, 5 deletions
diff --git a/documentation/Fl_Menu_.html b/documentation/Fl_Menu_.html
index 7a1bbe7f5..19aebbe7d 100644
--- a/documentation/Fl_Menu_.html
+++ b/documentation/Fl_Menu_.html
@@ -50,22 +50,23 @@ be "private": a dynamically allocated array managed by the Fl_Menu_.
</TD><TD align=left valign=top>
<UL>
<LI><A href=#Fl_Menu_.mode>mode</A></LI>
+<LI><A href=#Fl_Menu_.mvalue>mvalue</A></LI>
<LI><A href=#Fl_Menu_.remove>remove</A></LI>
<LI><A href=#Fl_Menu_.replace>replace</A></LI>
-<LI><A href=#Fl_Menu_.shortcut>shortcut</A></LI>
</UL>
</TD><TD align=left valign=top>
<UL>
+<LI><A href=#Fl_Menu_.shortcut>shortcut</A></LI>
<LI><A href=#Fl_Menu_.size>size</A></LI>
<LI><A href=#Fl_Menu_.test_shortcut>test_shortcut</A></LI>
<LI><A href=#Fl_Menu_.text>text</A></LI>
-<LI><A href=#Fl_Menu_.textcolor>textcolor</A></LI>
</UL>
</TD><TD align=left valign=top>
<UL>
<LI><A href=#Fl_Menu_.textfont>textfont</A></LI>
<LI><A href=#Fl_Menu_.textsize>textsize</A></LI>
<LI><A href=#Fl_Menu_.value>value</A></LI>
+<LI><A href=#Fl_Menu_.textcolor>textcolor</A></LI>
</UL>
</TD></TR>
</TABLE>
@@ -93,10 +94,19 @@ deleted. <tt>NULL</tt> is allowed and acts the same as a zero-length
menu. If you try to modify the array (with add(), replace(), or
delete()) a private copy is automatically done.
+<H4><A name=Fl_Menu_.mvalue>const Fl_Menu_Item* Fl_Menu_::mvalue()
+const</a></h4>
+
+<P>Returns a pointer to the last menu item that was picked.
+
<H4><A name=Fl_Menu_.copy>void Fl_Menu_::copy(const
-Fl_Menu_Item*)</A></H4>
-The menu is set to a private copy of the passed Fl_Menu_Item array.
-This is useful if you want to modify the flags of the menu items.
+Fl_Menu_Item*, void* user_data = 0)</A></H4>
+
+<P>The menu is set to a private copy of the passed Fl_Menu_Item
+array. This is useful if you want to modify the flags of the
+menu items. If the <tt>user_data</tt> argument is non-NULL, then
+the <tt>user_data</tt> members of the menu items are set to the
+given value.
<H4><A name=Fl_Menu_.clear>void Fl_Menu_::clear()</A></H4>
Same as <tt>menu(NULL)</tt>, set the array pointer to null, indicating