on_pre_focus

Function on_pre_focus 

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

P Widget got direct keyboard focus.

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