zng_wgt_input::gesture

Function on_disabled_click

source
pub fn on_disabled_click(
    child: impl UiNode,
    handler: impl WidgetHandler<ClickArgs>,
) -> impl UiNode
Expand description

P On widget click from any source and of any click count and the widget is disabled.

§Preview

You can preview this event using on_pre_disabled_click. Otherwise the handler is only called after the widget content has a chance to stop propagation.

§Async

You can use async event handlers with this property.