Expand description
Popup menus, context menus and menu bars.
Show menus via
Popup::menu
andPopup::context_menu
Ui::menu_button
,MenuButton
andSubMenuButton
MenuBar
Response::context_menu
See MenuBar
for an example.
Structs§
- MenuBar
- Horizontal menu bar where you can add
MenuButton
s. - Menu
Button - A thin wrapper around a
Button
that shows aPopup::menu
when 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
SubMenu
if aButton
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§
- Bar
Deprecated