zng::gesture

Function click_shortcut

source
pub fn click_shortcut(
    child: impl UiNode,
    shortcuts: impl IntoVar<Shortcuts>,
) -> impl UiNode
Expand description

P Keyboard shortcuts that focus and clicks this widget.

When any of the shortcuts is pressed, focus and click this widget.