def do_channels_filters(self): filters = ['All Languages'] + self.app.data.load_languages() remove_widget_children(self.channels_filters) for filter_name in filters: filterbox = FilterBox(filter_name=filter_name) self.channels_filters.add(filterbox)
def do_filter_item(self, filter_name): filterbox = FilterBox(filter_name=filter_name, filter_all='All Competitions') self.matches_filters.add(filterbox) if not self.matches_filters.get_selected_row(): self.matches_filters.select_row(filterbox)
def do_filter_item(self, filter_name): filterbox = FilterBox(filter_name=filter_name) self.channels_filters.add(filterbox) if filter_name == 'All Languages': if not self.channels_filters.get_selected_row(): self.channels_filters.select_row(filterbox)
def do_matches_filters(self): filters = ['All Competitions'] + self.app.data.load_competitions( True, True) remove_widget_children(self.matches_filters) for filter_name in filters: filterbox = FilterBox(filter_name=filter_name) self.matches_filters.add(filterbox)