diff options
Diffstat (limited to 'desktop/treeview.h')
-rw-r--r-- | desktop/treeview.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/treeview.h b/desktop/treeview.h index a8cf29ac5..df9b4fb26 100644 --- a/desktop/treeview.h +++ b/desktop/treeview.h @@ -495,4 +495,15 @@ void treeview_edit_selection(treeview *tree); */ int treeview_get_height(treeview *tree); + +/** + * Set the search string for a treeview with \ref TREEVIEW_SEARCHABLE + * + * \param tree Tree to set the search string for. + * \return NSERROR_OK on success, appropriate error otherwise + */ +nserror treeview_set_search_string( + treeview *tree, + const char *string); + #endif |