+ def __init__(self):
+ self.current_entry_filter_index = -1
+ self.entry_filters = []
+ self.filtered_list = lambda:[]
+ self.lock = None
+ super(SearchableListView,self).__init__()
+
+ def set_filters(self, entry_filters):
+ """
+ Set the filters that could be applied to this list. Each filter
+ can be applied in turn by calling switch_entry_filter (for
+ example from a key binding).
+
+ The entry_filters argument should be a list of filters. The
+ active filter is stored into self.filtered_list and should be
+ processed by generate_widgets in the subclass.
+ """