on_window_unmaximized

Function on_window_unmaximized 

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

P On window state changed from WindowState::Maximized.

§Preview

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