C++ Complementary Library
This class represents a window. After constructing a window, call the show function on it to display it.
Constructs a window object with the given size, title and mode.
The width of the window.
The height of the window.
The text that should be displayed in the title bar.
The mode the window should be in.
Move-constructs a window from an existing one.
The window to move from.
Move-assigns a window into this one.
The window to move from.
Returns a non-constant reference to the native handle of this window.
Returns a constant reference to the native handle of this window.
Returns the title of this window.
Sets the title of this window to the given string.
The new text to display in the title bar of the window.
Initializes this window, after which you can call show to display it.
The width of the window.
The height of the window.
The text that should be displayed in the title bar.
The mode the window should be in.
Shows this window.
Hides this window.
Releases this window, after which you must call open if you wish to reinitialize it.
This function is called automatically by the desktop GUI application every time the event queue is empty. Override this function in a subclass if you wish to perform window-related computation continuously.
The number of seconds that have elapsed since the last call to this function.
The number of seconds that have elapsed since this window was opened.
Handles the key down event.
The event object for this key down event.
Handles the key up event.
The event object for this key up event.
Handles the window resize event.
Handles the window close event.
The event object for this close event.
Copyright © 2022-2025 Daniel T. McGinnis