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ยง
P
On window frame rendered.P
On Input Method Editor event.P
Previewon_frame_image_ready
event.P
Previewon_ime
event.P
Previewon_window_changed
event.P
Previewon_window_close
event.P
Previewon_window_close_requested
event.P
Previewon_window_exited_fullscreen
event.P
Previewon_window_fullscreen
event.P
Previewon_window_load
event.P
Previewon_window_maximized
event.P
Previewon_window_minimized
event.P
Previewon_window_moved
event.P
Previewon_window_open
event.P
Previewon_window_resized
event.P
Previewon_window_restored
event.P
Previewon_window_state_changed
event.P
Previewon_window_unmaximized
event.P
Previewon_window_unminimized
event.P
On window moved, resized or other state changed.P
On window closed.P
On window close requested.P
On window state changed fromWindowState::is_fullscreen
.P
On window state changed toWindowState::is_fullscreen
.P
On window loaded.P
On window state changed toWindowState::Maximized
.P
On window state changed toWindowState::Minimized
.P
On window position changed.P
On window opened.P
On window size changed.P
On window state changed toWindowState::Normal
.P
On window state changed.P
On window state changed fromWindowState::Maximized
.P
On window state changed fromWindowState::Minimized
.