pub fn shortcut_fn(
child: impl IntoUiNode,
panel_fn: impl IntoVar<WidgetFn<ShortcutFnArgs>>,
) -> UiNodeExpand 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.