def __init__(self, w, h, holder, team, **kw): self.team = team title = holder.getTeamName(self.team) SheetFrame.__init__(self, w, h, title, holder, **None) self.initialiseoptions(ScoreFrame) self.scoreChanged = False
def __init__(self, w, h, holder, team, **kw): self.team = team title = holder.getTeamName(self.team) SheetFrame.__init__(self, w, h, title, holder) self.initialiseoptions(ScoreFrame) self.scoreChanged = False
def show(self): if self.scoreChanged: self.scoreChanged = False self.redraw() SheetFrame.show(self)