zng::menu::context

Function panel_fn

source
pub fn panel_fn(
    child: impl UiNode,
    panel: impl IntoVar<WidgetFn<PanelArgs>>,
) -> impl UiNode
Expand description

P Widget function that generates the context menu layout.

This property sets PANEL_FN_VAR.