Expand description
Sub-menu widget and properties.
Structs§
- Button
Style WStyle applied to allButton!widgets insideSubMenu!andContextMenu!.- Default
Style WStyle applied toSubMenu!not inside any other sub-menus.- SubMenu
WSubmenu header and items.- SubMenu
Ancestors - Iterator over sub-menu parents.
- SubMenu
Style WStyle applied to allSubMenu!widgets inside other sub-menus.- Toggle
Style WStyle applied to allToggle!widgets insideSubMenu!andContextMenu!.- Touch
Button Style WStyle applied to allButton!widgets insideSubMenu!andContextMenu!in touch contexts.
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 PIf the start and end column width is applied as padding.- end_
column PSets the content to theAlign::ENDside of the button menu item.- end_
column_ fn PSets the content to theAlign::ENDside of the button menu item generated using aWidgetFn<()>.- end_
column_ width PWidth of the sub-menu expand symbol column.- header
BDefines the sub-menu header child.- hover_
open_ delay PDelay a sub-menu must be hovered to open the popup.- is_open
PIf the sub-menu popup is open or opening.- start_
column PSets the content to theAlign::STARTside of the button menu item.- start_
column_ fn PSets the content to theAlign::STARTside of the button menu item generated using aWidgetFn<()>.- start_
column_ width PWidth of the icon/checkmark column.- style_
fn PExtends or replaces the widget style.- sub_
menu_ node - Sub-menu implementation.