def do_matches_filters(self): filters = self.app.data.load_matches_filters() remove_widget_children(self.matches_filters) for filter_name in filters: self.do_filter_item(filter_name) yield True run_generator(self.update_matches_filters)
def update_matches_widgets(self): if self.matches_filters.get_children(): run_generator(self.update_matches_filters) if self.matches_list.get_children(): run_generator(self.update_matches_list)
def do_matches_widgets(self): if not self.matches_filters.get_children(): run_generator(self.do_matches_filters) if not self.matches_list.get_children(): run_generator(self.do_matches_list)
def update_channels_widgets(self): if self.channels_filters.get_children(): run_generator(self.update_channels_filters) if self.channels_list.get_children(): run_generator(self.update_channels_list)
def do_channels_widgets(self): if not self.channels_filters.get_children(): run_generator(self.do_channels_filters) if not self.channels_list.get_children(): run_generator(self.do_channels_list)