If you want to get more control over the event loop, you can use this.
Typically though, you can just call SimpleWindow.eventLoop.
Construct an application-global event loop for yourself
A destructor is present on this object, but not explicitly documented in the source.
A postblit is present on this object, but not explicitly documented in the source.
Exits the event loop
Runs the event loop until the whileCondition, if present, returns false
Gets a reference to an existing event loop