Browse Source

Doc changes: mention that FL_COMMAND modifier exists in doc of the Fl_Menu_::add() function.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8110 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
pull/49/head
Manolo Gouy 15 years ago
parent
commit
3590348773
  1. 4
      src/Fl_Menu_add.cxx

4
src/Fl_Menu_add.cxx

@ -270,6 +270,8 @@ int Fl_Menu_Item::insert( @@ -270,6 +270,8 @@ int Fl_Menu_Item::insert(
\par
Raw integer shortcuts can be a combination of keyboard chars (eg. 'A')
and optional keyboard modifiers (see Fl::event_state(), e.g. FL_SHIFT, etc).
In addition, FL_COMMAND can be used to denote FL_META under Mac OS X and
FL_CTRL under other platforms.
\par
String shortcuts can be specified in one of two ways:
\par
@ -281,7 +283,7 @@ int Fl_Menu_Item::insert( @@ -281,7 +283,7 @@ int Fl_Menu_Item::insert(
..where \<ascii_value\> is a decimal value representing an
ascii character (eg. 97 is the ascii code for 'a'), and the optional
prefixes enhance the value that follows. Multiple prefixes must
appear in the above order.
appear in the order below.
\par
\verbatim
# - Alt

Loading…
Cancel
Save