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)
예제 #2
0
 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)
예제 #3
0
 def quit(self):
     
     self.stop()
     ttkFrame.quit(self)
예제 #4
0
 def makeVariables(self):
     self.participant = self.entry1.get()
     self.port = self.entry3.get()
     self.verify()
     Frame.quit(self)
예제 #5
0
 def stay(self):
     Frame.quit(self)
예제 #6
0
 def yes(self):
     self.do_exit = True
     Frame.quit(self)