zng_wgt_input::mouse

Function on_disabled_mouse_input

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

P Mouse button pressed or release while the cursor is over the widget, the widget is disabled and no cursor capture blocks it.

§Preview

You can preview this event using on_pre_disabled_mouse_input. 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.