def __init__(self, *args, layout=None, **kw): self.contents = [] Component.__init__(self, *args, **kw) if layout is None: layout = Placer() self.layout = layout