zng_wgt_menu

Module sub

Source
Expand description

Sub-menu widget and properties.

Structs§

DefaultStyle
W Style applied to SubMenu! not inside any other sub-menus.
SubMenu
W Submenu header and items.
SubMenuAncestors
Iterator over sub-menu parents.
SubMenuStyle
W Style applied to all SubMenu! 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§

SubMenuWidgetInfoExt
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 the Align::END side of the button menu item.
end_column_fn
P Sets the content to the Align::END side of the button menu item generated using a WidgetFn<()>.
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 the Align::START side of the button menu item.
start_column_fn
P Sets the content to the Align::START side of the button menu item generated using a WidgetFn<()>.
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.