#NEWLINE# def setMainWindow( self , mainWindow ) : #NEWLINE# #INDENT# 'Sets the mainWindow. If the main window is not explicitly set, the\n        main window defaults to first created window. Setting window as a main\n        window of this application also adds the window to this application.\n\n        @param mainWindow:\n                   the mainWindow to set.\n        ' #NEWLINE# self . addWindow ( mainWindow ) #NEWLINE# self . _mainWindow = mainWindow