Mercurial > pidgin
diff console/libgnt/gnttree.h @ 13860:c1e3f7c75c3f
[gaim-migrate @ 16321]
Sean suggested displaying a tooltip in the buddylist (http://gaim.sourceforge.net/sean/gntmock.png).
This (http://img157.imageshack.us/img157/1793/q4jb.png) is close.
You can press Escape to hide the tooltip.
I haven't yet managed to refresh widgets when other widgets covering it are destroyed. So
some parts of the border around the buddylist gets erased. I am going to try to fix it.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Fri, 23 Jun 2006 19:41:31 +0000 |
parents | a4c30c1d9de8 |
children | c7d84d4c5afa |
line wrap: on
line diff
--- a/console/libgnt/gnttree.h Fri Jun 23 16:59:12 2006 +0000 +++ b/console/libgnt/gnttree.h Fri Jun 23 19:41:31 2006 +0000 @@ -42,6 +42,8 @@ { GntWidgetClass parent; + void (*selection_changed)(int old, int current); + void (*gnt_reserved1)(void); void (*gnt_reserved2)(void); void (*gnt_reserved3)(void); @@ -60,7 +62,7 @@ void gnt_tree_scroll(GntTree *tree, int count); -void gnt_tree_add_row_after(GntTree *tree, void *key, const char *text, void *parent, void *bigbro); +GntTreeRow *gnt_tree_add_row_after(GntTree *tree, void *key, const char *text, void *parent, void *bigbro); gpointer gnt_tree_get_selection_data(GntTree *tree); @@ -68,6 +70,9 @@ void gnt_tree_remove(GntTree *tree, gpointer key); +/* Returns the visible line number of the selected row */ +int gnt_tree_get_selection_visible_line(GntTree *tree); + G_END_DECLS #endif /* GNT_TREE_H */