From c5d30baf60c5b8acd81a6fa5dd5ea0b2392de10e Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 1 Mar 2004 02:05:02 +0000 Subject: 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 --- documentation/Fl_Menu_.html | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'documentation/Fl_Menu_.html') 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_. @@ -93,10 +94,19 @@ deleted. NULL 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. +

const Fl_Menu_Item* Fl_Menu_::mvalue() +const

+ +

Returns a pointer to the last menu item that was picked. +

void Fl_Menu_::copy(const -Fl_Menu_Item*)

-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) + +

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 user_data argument is non-NULL, then +the user_data members of the menu items are set to the +given value.

void Fl_Menu_::clear()

Same as menu(NULL), set the array pointer to null, indicating -- cgit v1.2.3