def __init__(self, font=None, lines=None, **kwds): Component.__init__(self, **kwds) # If font and lines are both specified, must set font first. if font: self.font = font if lines is not None: self.lines = lines
def __init__(self, font = None, lines = None, **kwds): Component.__init__(self, **kwds) # If font and lines are both specified, must set font first. if font: self.font = font if lines is not None: self.lines = lines
def __init__(self, **kw): self._contents = [] Component.__init__(self, **kw)
def __init__(self, **kwds): Component.__init__(self, **kwds) ViewBase.__init__(self)