Module menu

Source
Expand description

Popup menus, context menus and menu bars.

Show menus via

See MenuBar for an example.

Structs§

MenuBar
Horizontal menu bar where you can add MenuButtons.
MenuButton
A thin wrapper around a Button that shows a Popup::menu when clicked.
MenuConfig
Configuration and style for menus.
MenuState
Holds the state of the menu.
SubMenu
Show a submenu in a menu.
SubMenuButton
A submenu button that shows a SubMenu if a Button is hovered.

Functions§

find_menu_root
Find the root UiStack of the menu.
is_in_menu
Is this Ui part of a menu?
menu_style
Apply a menu style to the Style.

Type Aliases§

BarDeprecated