Std.Ui.Menu
10 public declarations
- command
Str -> Str -> Std.Ui.Menu.ItemA command item: its title and the command it runs.
- commandOf
&Std.Ui.Screen.Event -> Option[Str]The command an event ran from a menu, if any.
- commandsOf
&Array[Std.Ui.Menu.Menu] -> Array[Str]Every command a menu bar can run, depth first, in order.
- Item
One entry of a menu: a command by name, a separator, or a nested menu.
- menu
Str -> Array[Std.Ui.Menu.Item] -> Std.Ui.Menu.MenuA menu.
- Menu
A titled list of items.
- native
&Array[Std.Ui.Menu.Menu] -> &Std.Ui.Keymap.Keymap -> StrThe bar as the records the desktop adapter builds the platform's menu bar
- opened
&Option[Str] -> &Std.Ui.Screen.Event -> Option[Str]Which menu is open after
event: a title toggles its menu, a command or - problems
&Array[Std.Ui.Menu.Menu] -> &Std.Ui.Keymap.Keymap -> Array[Str]What is wrong with a menu bar: an empty menu, a command listed twice,
- view
&Array[Std.Ui.Menu.Menu] -> &Option[Str] -> &Std.Ui.Keymap.Keymap -> Bool -> &Std.Ui.Theme.Theme -> Std.Ui.Layout.ViewThe menu bar as a row of titles, tagged
menu.<title>, with the menu
