on_pre_disabled_mouse_input

Function on_pre_disabled_mouse_input 

Source
pub fn on_pre_disabled_mouse_input(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&MouseInputArgs) -> HandlerResult + Send>,
) -> 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.

ยงRoute

This event property uses the preview route, that is, the handler is called before the children widget handlers and before the $pn_ident handlers.