Function zng::menu::context::context_menu_fn
source ยท pub fn 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 enabled and receives a context click.
The menu
can return any widget, the ContextMenu!
is recommended.