diff options
| author | Bill Spitzak <spitzak@gmail.com> | 1999-01-27 08:45:11 +0000 |
|---|---|---|
| committer | Bill Spitzak <spitzak@gmail.com> | 1999-01-27 08:45:11 +0000 |
| commit | 59c96f54635aed579fcb40a1980ff3694af46bd8 (patch) | |
| tree | 06bbd99c434659190549626dd5380262ce6eb0c5 /documentation/Fl_Menu_Button.html | |
| parent | 7e0bd92469a8d9fd6fde66a856bfea703d587e71 (diff) | |
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
Diffstat (limited to 'documentation/Fl_Menu_Button.html')
| -rw-r--r-- | documentation/Fl_Menu_Button.html | 6 |
1 files changed, 3 insertions, 3 deletions
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 <TT>Fl_Menu_Button</TT> may also control a pop-up menu. This is done by setting the <TT>type()</TT> , see below. </P> <P>The menu will also pop up in response to shortcuts indicated by -putting a ''character in the <TT>label()</TT>. </P> +putting a '&' character in the <TT>label()</TT>. </P> <P>Typing the <TT>shortcut()</TT> 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. </P> <P>When the user picks an item off the menu, the item's callback is done with the menu_button as the <TT>Fl_Widget*</TT> 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 <TT>value()</TT> and does the callback or sets <TT>changed()</TT> as described above. The menu item is returned -or <TT>NULL</TT>if the user dismisses the menu. +or <TT>NULL</TT> if the user dismisses the menu. <H4><A name=Fl_Menu_Button.type>void Fl_Menu_Button::type(uchar)</A></H4> If <TT>type()</TT> is zero a normal menu button is produced. If it is nonzero then this is a pop-up menu. The bits in <TT>type()</TT> |
