def quit(self, *args):
        """Quit the application.
        """
        self.logger.info("Attempting to shut down the application...")
        if self.layout_file is not None:
            self.error_wrap(self.ds.write_layout_conf, self.layout_file)

        self.stop()

        self.w.root = None
        while len(self.ds.toplevels) > 0:
            w = self.ds.toplevels.pop()
            w.delete()
def quit ( self , * args ) : self . logger . info ( "Attempting to shut down the application..." ) if self . layout_file is not None : self . error_wrap ( self . ds . write_layout_conf , self . layout_file ) self . stop ( ) self . w . root = None while len ( self . ds . toplevels ) > 0 : w = self . ds . toplevels . pop ( ) w . delete ( )
Quit the application.