Expand description
Menu types and utility functions
Structs
- Application metadata for the
PredefinedMenuItem::about
. - A builder type for
AboutMetadata
. - A builder type for
AboutMetadata
. - A builder type for
CheckMenuItem
- A builder type for
IconMenuItem
- A type that is either a menu bar on the window on Windows and Linux or as a global menu in the menubar on macOS.
- A builder type for
Menu
- Describes a menu event emitted when a menu item is activated
- An unique id that is associated with a menu or a menu item.
- A builder type for
MenuItem
- A predefined (native) menu item which has a predfined behavior by the OS or by this crate.
- A builder type for
Submenu
Enums
- A native Icon to be used for the menu item
Constants
- Expected submenu id of the Help menu for macOS.
- Expected submenu id of the Window menu for macOS.
Traits
- A helper trait with methods to help creating a context menu.
- A trait that defines a generic item in a menu, which may be one of
MenuItemKind