main
The application's main window. All apps have a main window that is automatically created. Closing this main window will exit the app by default, unless mainWindowCloseBehavior has been set. If so, then it is invoked whenever the main window closes and can decide whether the app gets closed or not.