zng_wgt_window

Module events

source
Expand description

Window events, on_window_open and on_window_close_requested.

These events are re-exported by Window! as on_open and on_close_requested, but you can attach then in any widget inside a window using the property full name.

There is no event property for the WINDOW_CLOSE_EVENT because that event notifies after the window is deinited. You can use on_deinit in the Window! widget to handle a window closing, or create an app level handler for the event using EVENTS.

Functionsยง