zng_wgt_window::events

Function on_window_fullscreen

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

P On window state changed to WindowState::is_fullscreen.

§Preview

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