on_mouse_enter

Function on_mouse_enter 

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

P Mouse is now over the widget or a descendant widget, the widget is enabled and cursor capture allows it.

ยงRoute

This event property uses the normal route, that is, the handler is called after the children widget handlers and after the $pn_pre_ident handlers.