zng::menu::context

Function disabled_context_menu_fn

source
pub fn disabled_context_menu_fn(
    child: impl UiNode,
    menu: impl IntoVar<WidgetFn<ContextMenuArgs>>,
) -> impl UiNode
Expand description

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

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