def finish_init(self): """ Do initializations that need to be done after the subclass __init__ has completed. e.g. hide this from view, which can have odd results for measurements for elements and layouts if it is called before setting them up. Subclass __init__:s must call finish_init at the end! :return: """ Panel.finish_init(self) self.update_panel() self.show()
def finish_init(self): Panel.finish_init(self) self.update_panel() self.show()