Game Development Reference
Window related events
This event is triggered when the OS detects that the user wants to
close a window—the close button, key combination, and so on.
the new size of the win-
This event is triggered when the OS detects that the window has
been resized manually, or when Window::setSize() has
This event is triggered when the window loses or gains focus.
Windows which are out of focus don't receive keyboard events.