zng::menu

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 menu layout.

This property can be set in any widget to affect all Menu! descendants.

This property sets PANEL_FN_VAR.