Module menu

Available on crate feature dep_fltk only.
Expand description

Menu widgets

Structs§

Choice
Creates a menu choice
MacAppMenu
Wrapper around Fl_Mac_App_Menu which exposes several static methods allowing the customization of the default system menu bar for the fltk application
MenuBar
Creates a menu bar
MenuButton
Creates a menu button
MenuFlag
Defines the menu flag for any added menu items using the add() method
MenuItem
Creates a menu item
SysMenuBar
Creates a macOS system menu bar on macOS and a normal menu bar on other systems

Enums§

MenuButtonType
Defines the menu button types, which can be changed dynamically using the set_type().
WindowMenuStyle
Defines the window menu style for SysMenuBar

Functions§

delete_menu_item
Delete a menu item
mac_set_about
Set a callback for the “About” item of the system application menu on macOS.