Expand description
Sub-menu widget and properties.
Structs§
- Default
Style W
Style applied toSubMenu!
not inside any other sub-menus.- SubMenu
W
Submenu header and items.- SubMenu
Ancestors - Iterator over sub-menu parents.
- SubMenu
Style W
Style applied to allSubMenu!
widgets inside other sub-menus.
Statics§
- END_
COLUMN_ WIDTH_ VAR - Width of the sub-menu expand symbol column.
- HOVER_
OPEN_ DELAY_ VAR - Delay a sub-menu must be hovered to open the popup.
- START_
COLUMN_ WIDTH_ VAR - Width of the icon/checkmark column.
- STYLE_
FN_ VAR - Contextual style variable.
Traits§
- SubMenu
Widget Info Ext - Extension methods for
WidgetInfo
.
Functions§
- column_
width_ padding P
If the start and end column width is applied as padding.- end_
column P
Sets the content to theAlign::END
side of the button menu item.- end_
column_ fn P
Sets the content to theAlign::END
side of the button menu item generated using aWidgetFn<()>
.- end_
column_ width P
Width of the sub-menu expand symbol column.- header
c
Defines the sub-menu header child.- hover_
open_ delay P
Delay a sub-menu must be hovered to open the popup.- is_open
P
If the sub-menu popup is open or opening.- start_
column P
Sets the content to theAlign::START
side of the button menu item.- start_
column_ fn P
Sets the content to theAlign::START
side of the button menu item generated using aWidgetFn<()>
.- start_
column_ width P
Width of the icon/checkmark column.- style_
fn P
Extends or replaces the widget style.- sub_
menu_ node - Sub-menu implementation.