zng_wgt_window::events

Function on_window_minimized

source
pub fn on_window_minimized(
    child: impl UiNode,
    handler: impl WidgetHandler<WindowChangedArgs>,
) -> impl 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.