Module menu

Module menu 

Source
Expand description

Menu and MenuItem widgets are used to create menu chains like standard File, Edit, etc. menus. See doc of respective widget for more info and usage examples.

Structs§

ContextMenu
A simple wrapper over Popup widget, that holds the sub-items of a menu item and provides an ability for keyboard navigation.
ContextMenuBuilder
Creates ContextMenu widgets.
Menu
Menu widget is a root widget of an arbitrary menu hierarchy. An example could be “standard” menu strip with File, Edit, View, etc. items. Menu widget can contain any number of children item (File, Edit in the previous example). These items should be MenuItem widgets, however you can use any widget type (for example - to create some sort of a separator).
MenuBuilder
Menu builder creates Menu widgets and adds them to the user interface.
MenuItem
Menu item is a widget with arbitrary content, that has a “floating” panel (popup) for sub-items if the menu item. This was menu items can form arbitrary hierarchies. See Menu docs for examples.
MenuItemBuilder
Menu builder creates MenuItem widgets and adds them to the user interface.
SortingPredicate
A predicate that is used to sort menu items.

Enums§

MenuItemContent
Allows you to set a content of a menu item either from a pre-built “layout” with icon/text/shortcut/arrow or a custom widget.
MenuItemMessage
A set of messages that can be used to manipulate a MenuItem widget at runtime.
MenuItemPlacement
A set of possible placements of a popup with items of a menu item.
MenuMessage
A set of messages that can be used to manipulate a Menu widget at runtime.