Expand description
Submenu widget and properties.
See zng_wgt_menu::sub for the full widget API.
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.
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.- 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.