zng_wgt_window::events

Function on_window_maximized

source
pub fn on_window_maximized(
    child: impl UiNode,
    handler: impl WidgetHandler<WindowChangedArgs>,
) -> impl UiNode
Expand description

P On window state changed to WindowState::Maximized.

§Preview

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