Function zng::mouse::on_disabled_mouse_click
source · pub fn on_disabled_mouse_click(
child: impl UiNode,
handler: impl WidgetHandler<MouseClickArgs>,
) -> impl UiNode
Expand description
P
Mouse clicked on the disabled widget with the primary button, including repeat clicks.
§Preview
You can preview this event using on_pre_disabled_mouse_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.