Module menu
Available on crate feature
dep_fltk
only.Expand description
Menu widgets
Structs§
- Choice
- Creates a menu choice
- MacApp
Menu - 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
- Menu
Button - Creates a menu button
- Menu
Flag - Defines the menu flag for any added menu items using the add() method
- Menu
Item - Creates a menu item
- SysMenu
Bar - Creates a macOS system menu bar on macOS and a normal menu bar on other systems
Enums§
- Menu
Button Type - Defines the menu button types, which can be changed dynamically using the
set_type()
. - Window
Menu Style - 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.