Function zng::menu::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.