Ejemplo 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()
Ejemplo n.º 2
0
 def onCancel(self):
     """Close the program after confirming"""
     if modals.confirmExit():
         self.onClose()
Ejemplo n.º 3
0
 def onCancel(self):
     """Close the program after confirming"""
     if modals.confirmExit():
         self.onClose()
Ejemplo n.º 4
0
 def handleCancel(self, *args, **kwargs):
     if modals.confirmExit():
         self.handleClose()