def __init__(self, component_manager): NonBlockingActivateCardsDialog.__init__(self, component_manager) self.page, self.tags_box, menu_button, stat_button = widgets.create_tags_ui(self.main_widget().switcher) self.tags_dict = {} # connecting signals stat_button.connect("clicked", self.stat_cb) menu_button.connect("clicked", self.tags_to_main_menu_cb)
def __init__(self, component_manager): UiComponent.__init__(self, component_manager) # create widgets self.page, self.tags_box, menu_button, stat_button = \ widgets.create_tags_ui(self.main_widget().switcher) self.tags_dict = {} # connecting signals stat_button.connect('clicked', self.stat_cb) menu_button.connect('clicked', self.tags_to_main_menu_cb)