zng_wgt_input

Function is_shortcut_pressed

Source
pub fn is_shortcut_pressed(
    child: impl UiNode,
    state: impl IntoVar<bool>,
) -> impl UiNode
Expand description

P If the widget was clicked by shortcut or accessibility event and the shortcut_pressed_duration has not elapsed.