Game Development Reference
In-Depth Information
Window related events
Enum value
Member associated
Description
This event is triggered when the OS detects that the user wants to
close a window—the close button, key combination, and so on.
Event::Closed
None
Event::size holds
the new size of the win-
dow
This event is triggered when the OS detects that the window has
been resized manually, or when Window::setSize() has
been used.
Event::Resized
Event::LostFocus
This event is triggered when the window loses or gains focus.
Windows which are out of focus don't receive keyboard events.
None
Event::GainedFocus
Search WWH ::




Custom Search