zng_wgt_menu::context

Function disabled_context_menu

Source
pub fn disabled_context_menu(
    child: impl UiNode,
    menu: impl UiNode,
) -> impl UiNode
Expand description

P Defines the context menu shown when the widget is disabled and receives a context click.

The menu can be any widget, the ContextMenu! is recommended.