Window.mainWindow

Function/Meaning
Main window
Type
Window class property (read-only)
Description
Represents the main window (the window that was created first).