|
libt3widget
|
Generic filtered list template. More...
Public Member Functions | |
| filtered_list_t (list_t *list) | |
| virtual void | set_filter (const sigc::slot< bool, string_list_base_t *, size_t > &_test) |
| Set the filter callback. More... | |
Public Member Functions inherited from t3_widget::filtered_list_internal_t< list_t > | |
| filtered_list_internal_t (list_t *list) | |
| Make a new filtered_list_internal_t, wrapping an existing list. More... | |
| virtual const std::string * | operator[] (size_t idx) const |
Retrieve element idx. More... | |
| virtual void | reset_filter (void) |
| Reset the filter. More... | |
| virtual size_t | size (void) const |
| Retrieve the size of the list. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from t3_widget::filtered_list_internal_t< list_t > | |
| void | update_list (void) |
| Update the filtered list. More... | |
Protected Attributes inherited from t3_widget::filtered_list_internal_t< list_t > | |
| list_t * | base |
| Base list of which this is a filtered view. More... | |
| sigc::connection | base_content_changed_connection |
| Connection to base list's content_changed signal. More... | |
| std::vector< size_t > | items |
| Vector holding the indices in the base list of the items included in the filtered list. More... | |
| sigc::slot< bool, list_t *, size_t > | test |
| Filter function. More... | |
Generic filtered list template.
Because the instantiation of this template is a subclass of list_t, depending on the type of list_t, there may be more functions that need to be implemented.
|
inlinevirtual |
Set the filter callback.
Reimplemented from t3_widget::filtered_list_internal_t< list_t >.
1.8.6