def switch_it(self, scrolled_window=True): if scrolled_window: switch_box(self.main_box, self.song_view) else: switch_box(self.main_box, self.jobs_main_box)
def switch_it(self, scrolled_window=True): if scrolled_window: switch_box(self.main_box, self.scrolled_window) else: switch_box(self.main_box, self.jobs_align)
def get_list_widget(self): if self.get_songs(): switch_box(self.main_box, self.song_view) else: switch_box(self.main_box, self.jobs_main_box) return self.main_box
def get_list_widget(self): if self.get_songs(): switch_box(self.main_box, self.scrolled_window) else: switch_box(self.main_box, self.jobs_align) return self.main_box