Expand description
The MenuModel data type and its builders.
Structs§
- Menu
Entry - One leaf command in the menu tree. Both the builder and the stored spec.
- Menu
Items - Builder for the contents of one (sub)menu — a sequence of items, separators, and nested submenus.
- Menu
Model - A declarative menu tree shared by the in-window
MenuBarand the native OS menu bar. Cloneable by handle (Rcinside); a clone shares the same nodes andversionsignal, so mutating one updates every view. - Standard
Menu - A platform-standard menu (macOS App / Window / Help) with localized
labels. The framework wires the system selectors (About / Hide / Quit,
Minimize / Zoom); you supply the strings — defaults are English
lit!s, so passtr!-resolved [LocalizedString]s for a localized app menu. This keeps the OS menu bar inside the i18n net like every other widget.
Enums§
- Menu
Item State - Checkable / radio state for a menu item, mirroring the
MenuItemmodes. - Menu
Node - One node of the menu tree.