on_pre_mouse_single_click

Function on_pre_mouse_single_click 

Source
pub fn on_pre_mouse_single_click(
    child: impl IntoUiNode,
    handler: Box<dyn FnMut(&MouseClickArgs) -> HandlerResult + Send>,
) -> UiNode
Expand description

P Mouse clicked on the widget with the primary button excluding repeat clicks and it is enabled.

ยง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.