Window
Quip uses the Quip::Window class to represent a window.
The constructor paramaters are as follows:
Creating and Modifying Widgets
Widgets are added to the Quip::Window class. If you would like to add a widget to the screen, you can use the addChild(std::string id, Widget::Widget widget) method to add a child widget.
As an example:
Widgets can be accessed through the getChild(std::string id) method. This returns a pointer to a std::variant which the widget is stored in.
As an example:
Running the Window
You can run a Quip window like this:
Ideally, return window.run() should be the last line in your main function.