C++ Complementary Library
This class performs all initialization necessary to make desktop GUI applications work, and also provides an event loop. You instantiate this class in your application's main function, then you set up your windows, and finally you return the result of calling the run function, which will initiate the event loop and return 0 when all windows have been closed.
Constructs a desktop_gui_application with the given command line arguments.
The number of arguments given on the command line.
The array of pointers to the arguments given on the command line.
Move-constructs a desktop_gui_application from an existing one.
The desktop_gui_application to move from.
Move-assigns a desktop_gui_application into this one.
The desktop_gui_application to move from.
Returns a pointer to the desktop GUI application object. This pointer is only valid if the application object you instantiated in your program's main function is actually a desktop_gui_application.
Returns a non-constant reference to the native handle of this desktop GUI application.
Returns a constant reference to the native handle of this desktop GUI application.
Spins up an event loop so that previously configured windows can be notified of events, and returns 0 when all windows have been closed. This function's return value is intended to be returned by the main function.
Copyright © 2022-2025 Daniel T. McGinnis