on_focus_enter

Function on_focus_enter 

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

P Widget or one of its descendants got focus.

§Preview

You can preview this event using on_pre_focus_enter. 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.