From 59c96f54635aed579fcb40a1980ff3694af46bd8 Mon Sep 17 00:00:00 2001 From: Bill Spitzak Date: Wed, 27 Jan 1999 08:45:11 +0000 Subject: Fixes to documentation. Restored the lines drawn around symbols, it uses fl_color_average to pick a dark line color that is still deactivatable. Requested by CE. git-svn-id: file:///fltk/svn/fltk/trunk@249 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- documentation/Fl_Menu_Button.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'documentation/Fl_Menu_Button.html') diff --git a/documentation/Fl_Menu_Button.html b/documentation/Fl_Menu_Button.html index b1df98060..b073b4dd3 100644 --- a/documentation/Fl_Menu_Button.html +++ b/documentation/Fl_Menu_Button.html @@ -26,10 +26,10 @@ below the button as shown in the picture. However an Fl_Menu_Button may also control a pop-up menu. This is done by setting the type() , see below.

The menu will also pop up in response to shortcuts indicated by -putting a ''character in the label().

+putting a '&' character in the label().

Typing the shortcut() of any of the menu items will cause callbacks exactly the same as when you pick the item with the mouse. - The ''character in menu item names are only looked at when the menu is + The '&' character in menu item names are only looked at when the menu is popped up, however.

When the user picks an item off the menu, the item's callback is done with the menu_button as the Fl_Widget* argument. If the @@ -59,7 +59,7 @@ its menu items. shortcut key. The menu appears, it waits for the user to pick an item, and if they pick one it sets value() and does the callback or sets changed() as described above. The menu item is returned -or NULLif the user dismisses the menu. +or NULL if the user dismisses the menu.

void Fl_Menu_Button::type(uchar)

If type() is zero a normal menu button is produced. If it is nonzero then this is a pop-up menu. The bits in type() -- cgit v1.2.3