def quit(self): if MAX_CONTENT and content_number < MAX_CONTENT: result = tkMessageBox.askquestion("Quit", "Are you sure ? Your session is incomplete...", icon='warning') == 'yes' else: result = True if result: stop_detection() Frame.quit(self)
def quit(self): if MAX_CONTENT and content_number < MAX_CONTENT: result = tkMessageBox.askquestion( "Quit", "Are you sure ? Your session is incomplete...", icon='warning') == 'yes' else: result = True if result: stop_detection() Frame.quit(self)
def quit(self): self.stop() ttkFrame.quit(self)
def makeVariables(self): self.participant = self.entry1.get() self.port = self.entry3.get() self.verify() Frame.quit(self)
def stay(self): Frame.quit(self)
def yes(self): self.do_exit = True Frame.quit(self)