SourceModule menu
Popup menus, context menus and menu bars.
Show menus via
- Popup.menu and Popup.context_menu
- Ui.menu_button, MenuButton and SubMenuButton
- MenuBar
- Response.context_menu
See MenuBar for an example.
Classes§
| MenuBar | Horizontal menu bar where you can add |
| MenuButton | A thin wrapper around a |
| 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 |
Functions§
| find_menu_root | Find the root |
| is_in_menu | Is this Ui part of a menu? |
| menu_style | Apply a menu style to the |