Expand description
Re-export of muda crate and used for tray context menu.
Modules§
- Types and functions to create
AboutMetadata
for thePredefinedMenuItem::about
dialog. - Accelerators describe keyboard shortcuts for menu items.
- DPI
Structs§
- Application metadata for the
PredefinedMenuItem::about
dialog. - A builder type for
AboutMetadata
. - A builder type for
CheckMenuItem
- An icon used for the window titlebar, taskbar, etc.
- A builder type for
IconMenuItem
- A root menu that can be added to a Window on Windows and Linux and used as the app global menu on macOS.
- 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§
- An error produced when using
Icon::from_rgba
with invalid arguments. - Errors returned by muda.
- An enumeration of all available menu types, useful to match against the items returned from
Menu::items
orSubmenu::items
- A native Icon to be used for the menu item
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
Type Aliases§
- A reciever that could be used to listen to menu events.
- Convenient type alias of Result type for muda.