zng_wgt_menu

Module context

Source
Expand description

Context menu widget and properties.

Structs§

ContextMenu
W Context menu popup.
ContextMenuArgs
Arguments for context menu widget functions.
DefaultStyle
W Context menu popup default style.
TouchStyle
W Touch context menu popup default style.

Statics§

CONTEXT_MENU_ANCHOR_VAR
Position of the context widget in relation to the anchor widget.
PANEL_FN_VAR
Defines the layout widget for ContextMenu!.
STYLE_FN_VAR
Contextual style variable.

Functions§

context_menu
P Defines the context menu shown when the widget is enabled and receives a context click.
context_menu_anchor
P Set the position of the context-menu widgets opened for the widget or its descendants.
context_menu_fn
P Defines the context menu function shown when the widget is enabled and receives a context click.
disabled_context_menu
P Defines the context menu shown when the widget is disabled and receives a context click.
disabled_context_menu_fn
P Defines the context menu function shown when the widget is disabled and receives a context click.
panel_fn
P Widget function that generates the context menu layout.
style_fn
P Extends or replaces the widget style.