FLTK 1.3.8
|
Mac OS-specific class allowing to customize and localize the application menu. More...
Static Public Member Functions | |
static void | custom_application_menu_items (const Fl_Menu_Item *m) |
Adds custom menu item(s) to the application menu of the system menu bar. More... | |
Static Public Attributes | |
static const char * | about = "About %@" |
Localizable text for the "About xxx" application menu item. | |
static const char * | hide = "Hide %@" |
Localizable text for the "Hide xxx" application menu item. | |
static const char * | hide_others = "Hide Others" |
Localizable text for the "Hide Others" application menu item. | |
static const char * | print = "Print Front Window" |
Localizable text for the "Print Front Window" application menu item. More... | |
static const char * | quit = "Quit %@" |
Localizable text for the "Quit xxx" application menu item. | |
static const char * | services = "Services" |
Localizable text for the "Services" application menu item. | |
static const char * | show = "Show All" |
Localizable text for the "Show All" application menu item. | |
Mac OS-specific class allowing to customize and localize the application menu.
The public class attributes are used to build the application menu. They can be localized at run time to any UTF-8 text by placing instructions such as this before fl_open_display() gets called:
Fl_Mac_App_Menu::print = "Imprimer la fenĂȘtre";
|
static |
Adds custom menu item(s) to the application menu of the system menu bar.
They are positioned after the "Print Front Window" item, or at its place if it was removed with Fl_Mac_App_Menu::print = ""
.
m | zero-ending array of Fl_Menu_Item 's. |
|
static |
Localizable text for the "Print Front Window" application menu item.
This menu item won't be displayed if Fl_Mac_App_Menu::print is set to an empty string.