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ยง
- on_
frame_ image_ ready P
On window frame rendered.- on_ime
P
On Input Method Editor event.- on_
pre_ frame_ image_ ready P
Previewon_frame_image_ready
event.- on_
pre_ ime P
Previewon_ime
event.- on_
pre_ window_ changed P
Previewon_window_changed
event.- on_
pre_ window_ close P
Previewon_window_close
event.- on_
pre_ window_ close_ requested P
Previewon_window_close_requested
event.- on_
pre_ window_ exited_ fullscreen P
Previewon_window_exited_fullscreen
event.- on_
pre_ window_ fullscreen P
Previewon_window_fullscreen
event.- on_
pre_ window_ load P
Previewon_window_load
event.- on_
pre_ window_ maximized P
Previewon_window_maximized
event.- on_
pre_ window_ minimized P
Previewon_window_minimized
event.- on_
pre_ window_ moved P
Previewon_window_moved
event.- on_
pre_ window_ open P
Previewon_window_open
event.- on_
pre_ window_ resized P
Previewon_window_resized
event.- on_
pre_ window_ restored P
Previewon_window_restored
event.- on_
pre_ window_ state_ changed P
Previewon_window_state_changed
event.- on_
pre_ window_ unmaximized P
Previewon_window_unmaximized
event.- on_
pre_ window_ unminimized P
Previewon_window_unminimized
event.- on_
window_ changed P
On window moved, resized or other state changed.- on_
window_ close P
On window closed.- on_
window_ close_ requested P
On window close requested.- on_
window_ exited_ fullscreen P
On window state changed fromWindowState::is_fullscreen
.- on_
window_ fullscreen P
On window state changed toWindowState::is_fullscreen
.- on_
window_ load P
On window loaded.- on_
window_ maximized P
On window state changed toWindowState::Maximized
.- on_
window_ minimized P
On window state changed toWindowState::Minimized
.- on_
window_ moved P
On window position changed.- on_
window_ open P
On window opened.- on_
window_ resized P
On window size changed.- on_
window_ restored P
On window state changed toWindowState::Normal
.- on_
window_ state_ changed P
On window state changed.- on_
window_ unmaximized P
On window state changed fromWindowState::Maximized
.- on_
window_ unminimized P
On window state changed fromWindowState::Minimized
.