![]() |
![]() |
![]() |
![]() |
DhKeywordModel — A custom GtkTreeModel implementation for searching a keyword
DhKeywordModel is a custom GtkTreeModel implementation (as a list, not a tree) for searching a keyword.
The dh_keyword_model_filter()
function is used to set the search criteria.
DhLink * dh_keyword_model_filter (DhKeywordModel *model
,const gchar *search_string
,const gchar *book_id
,const gchar *language
);
Searches in the DhBookManager the list of DhLink's that correspond to
search_string
, and fills the model
with that list.
model |
||
search_string |
a search query. |
|
book_id |
the ID of the book currently selected, or |
[nullable] |
language |
. |
[nullable] |