def __init__(self, master, conflict, *args): """Initialize the Frame. Does not build widgets.""" FrameTemplate.__init__(self, master, conflict, self.buttonLabel, self.activeIcon, self.inactiveIcon, self.helpText) self.lastBuildConflict = None
def enter(self): """Run when entering the Infeasible States screen.""" if self.dataChanged(): self.clearFrame() FrameTemplate.enter(self) self.optsInp.reloadOpts()
def __init__(self, master, conflict, *args): """Initialize the Frame. Does not build widgets.""" FrameTemplate.__init__(self, master, conflict, self.buttonLabel, self.activeIcon, self.inactiveIcon, self.helpText) self.lastBuildDMs = None self.lastBuildOptions = None self.lastBuildInfeasibles = None self.lastBuildRanking = None
def __init__(self, master, conflict): """Initialize DMinput Frame.""" FrameTemplate.__init__(self, master, conflict, self.buttonLabel, self.activeIcon, self.inactiveIcon, self.helpText)
def leave(self, *args): """Un-grid the screen. Perform exit clean-up tasks.""" FrameTemplate.leave(self) del self.invDisp.sol
def enter(self, *args): """Re-grid the screen into the master. Perform required updates.""" if self.dataChanged(): self.clearFrame() FrameTemplate.enter(self)
def enter(self): """Run when entering the Misperceived States screen.""" if self.dataChanged(): self.clearFrame() FrameTemplate.enter(self) self.optsInp.reloadOpts()