on_window_minimized

Function on_window_minimized 

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

P On window state changed to WindowState::Minimized.

§Preview

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