Adds a menu and toolbar from annotated functions. It uses the top-level annotations from this module, so it is better to put the commands in a separate struct instad of in your window subclass, to avoid potential conflicts with method names (if you do hit one though, you can use @(.icon(...)) instead of plain @icon(...) to disambiguate, though).
Returns the window's StatusBar. Be warned it may be null.
Sets the window icon which is often seen in title bars and taskbars.
Gives the height of a line according to the default font. You should try to use your computed font instead of this, but until May 8, 2021, this was the only real option.
Provides access to the underlying SimpleWindow. Note that changing properties on this window may disconnect minigui's event dispatchers.
Shows the window and runs the application event loop.
A MainWindow is a window that includes turnkey support for a menu bar, tool bar, and status bar automatically positioned around a client area where you put your widgets.