(self)
Exit to main menu
Exit to main menu
Exit to main menu
def exit2main(self):
        '''Exit to main menu'''

        if self.changed is True:
            if self.ask_for_saving() is False:
                return
        if type(self.clip_timer) is threading.Timer:
            self.clip_timer.cancel()
            self.del_clipboard()
        self.db_close()
def exit2main ( self ) : if self . changed is True : if self . ask_for_saving ( ) is False : return if type ( self . clip_timer ) is threading . Timer : self . clip_timer . cancel ( ) self . del_clipboard ( ) self . db_close ( )