def __init__(self, width, client, **kwds): Widget.__init__(self, **kwds) self.set_size_for_text(width) self.client = client
def __init__(self, **kwds): Widget.__init__(self, Rect((0, 0), (100, 20)), **kwds)
def __init__(self, game, **kwds): Widget.__init__(self, Rect(0, 0, 16, 16), **kwds) self.game = game