Expand description
Popup menus, context menus and menu bars.
Show menus via
Popup::menuandPopup::context_menuUi::menu_button,MenuButtonandSubMenuButtonMenuBarResponse::context_menu
See MenuBar for an example.
Structs§
- MenuBar
- Horizontal menu bar where you can add
MenuButtons. - Menu
Button - A thin wrapper around a
Buttonthat shows aPopup::menuwhen clicked. - Menu
Config - Configuration and style for menus.
- Menu
State - Holds the state of the menu.
- SubMenu
- Show a submenu in a menu.
- SubMenu
Button - A submenu button that shows a
SubMenuif aButtonis hovered.
Functions§
- find_
menu_ root - Find the root
UiStackof the menu. - is_
in_ menu - Is this Ui part of a menu?
- menu_
style - Apply a menu style to the
Style.
Type Aliases§
- Bar
Deprecated