Esempio n. 1
0
    def onCancel(self):
        """Close the program after confirming

        We treat the behavior of the "cancel" button slightly
        differently than the general window close X button only
        because this is 'part of' the form.
        """
        if modals.confirmExit():
            self.onClose()
Esempio n. 2
0
 def onCancel(self):
     """Close the program after confirming"""
     if modals.confirmExit():
         self.onClose()
Esempio n. 3
0
 def onCancel(self):
     """Close the program after confirming"""
     if modals.confirmExit():
         self.onClose()
Esempio n. 4
0
 def handleCancel(self, *args, **kwargs):
     if modals.confirmExit():
         self.handleClose()