def __init__(self, button, text_callback): ToolTipBase.__init__(self, button) self.text_callback = text_callback