def quit ( self ) : logger . debug ( "ArgosApplication.quit called" ) assert len ( self . mainWindows ) == 0 , "Bug: still {} windows present at application quit!" . format ( len ( self . mainWindows ) ) self . qApplication . quit ( )
how to stop a python window from closing on startup
Quits the application ( called when the last window is closed )
def quit(self):
        """ Quits the application (called when the last window is closed)
        """
        logger.debug("ArgosApplication.quit called")
        assert len(self.mainWindows) == 0, \
            "Bug: still {} windows present at application quit!".format(len(self.mainWindows))
        self.qApplication.quit()