comparison finch/libgnt/gnttree.h @ 22170:364e67f1a429

Function to get the parent key.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 22 Jan 2008 07:28:11 +0000
parents 39b078ac8a81
children f60ce471c174
comparison
equal deleted inserted replaced
22169:8c5d0180c326 22170:364e67f1a429
573 * @since 2.0.0 (gnt), 2.1.0 (pidgin) 573 * @since 2.0.0 (gnt), 2.1.0 (pidgin)
574 */ 574 */
575 void gnt_tree_set_search_function(GntTree *tree, 575 void gnt_tree_set_search_function(GntTree *tree,
576 gboolean (*func)(GntTree *tree, gpointer key, const char *search, const char *current)); 576 gboolean (*func)(GntTree *tree, gpointer key, const char *search, const char *current));
577 577
578 /**
579 * Get the parent key for a row.
580 *
581 * @param tree The tree
582 * @param key The key for the row.
583 *
584 * @return The key of the parent row.
585 * @since 2.4.0
586 */
587 gpointer gnt_tree_get_parent_key(GntTree *tree, gpointer key);
588
578 G_END_DECLS 589 G_END_DECLS
579 590
580 #endif /* GNT_TREE_H */ 591 #endif /* GNT_TREE_H */