shortcut_fn

Function shortcut_fn 

Source
pub fn shortcut_fn(
    child: impl IntoUiNode,
    panel_fn: impl IntoVar<WidgetFn<ShortcutFnArgs>>,
) -> UiNode
Expand description

P Widget function that converts ShortcutFnArgs to a widget.

Set to WidgetFn::nil or return the items as a node to pass the items directly to panel_fn.

This property sets the SHORTCUT_FN_VAR.