Mercurial > pidgin
comparison finch/libgnt/gnttree.h @ 18557:212c2bec5c97
Allow using custom search functions.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Thu, 19 Jul 2007 08:25:26 +0000 |
parents | 8838b67b1ea0 |
children | dba4edbde4a7 |
comparison
equal
deleted
inserted
replaced
18556:5e1412f4e67a | 18557:212c2bec5c97 |
---|---|
514 * @param tree The tree | 514 * @param tree The tree |
515 * @return @c TRUE if the user is searching, @c FALSE otherwise. | 515 * @return @c TRUE if the user is searching, @c FALSE otherwise. |
516 */ | 516 */ |
517 gboolean gnt_tree_is_searching(GntTree *tree); | 517 gboolean gnt_tree_is_searching(GntTree *tree); |
518 | 518 |
519 /** | |
520 * Set a custom search function. | |
521 * | |
522 * @param tree The tree | |
523 * @param func The custom search function | |
524 */ | |
525 void gnt_tree_set_search_function(GntTree *tree, | |
526 gboolean (*func)(GntTree *tree, gpointer key, const char *current)); | |
527 | |
519 G_END_DECLS | 528 G_END_DECLS |
520 | 529 |
521 #endif /* GNT_TREE_H */ | 530 #endif /* GNT_TREE_H */ |