From 59c96f54635aed579fcb40a1980ff3694af46bd8 Mon Sep 17 00:00:00 2001
From: Bill Spitzak
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.