コード例 #1
0
 def setDeletingState(self):
     """ Sets all the controls to disabled state to prevent any multi-clicks"""
     ControlUtil.setControlState(self.TEXT_BOXES, DISABLED)
     ControlUtil.setControlState(self.BUTTONS, DISABLED)
     self.root.update()
コード例 #2
0
 def setReadyState(self):
     """ Resets all controls back to normal state."""
     ControlUtil.setControlState(self.TEXT_BOXES, NORMAL)
     ControlUtil.setControlState(self.BUTTONS, NORMAL)
     self.root.update()
コード例 #3
0
 def disableCsvButtons(self):
     ControlUtil.setControlState([self.btnOpenCsvDialog, self.btnDeleteFile], DISABLED)