Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
13859:60278852c20c | 13860:c1e3f7c75c3f |
---|---|
40 | 40 |
41 struct _GnTreeClass | 41 struct _GnTreeClass |
42 { | 42 { |
43 GntWidgetClass parent; | 43 GntWidgetClass parent; |
44 | 44 |
45 void (*selection_changed)(int old, int current); | |
46 | |
45 void (*gnt_reserved1)(void); | 47 void (*gnt_reserved1)(void); |
46 void (*gnt_reserved2)(void); | 48 void (*gnt_reserved2)(void); |
47 void (*gnt_reserved3)(void); | 49 void (*gnt_reserved3)(void); |
48 void (*gnt_reserved4)(void); | 50 void (*gnt_reserved4)(void); |
49 }; | 51 }; |
58 | 60 |
59 int gnt_tree_get_visible_rows(GntTree *tree); | 61 int gnt_tree_get_visible_rows(GntTree *tree); |
60 | 62 |
61 void gnt_tree_scroll(GntTree *tree, int count); | 63 void gnt_tree_scroll(GntTree *tree, int count); |
62 | 64 |
63 void gnt_tree_add_row_after(GntTree *tree, void *key, const char *text, void *parent, void *bigbro); | 65 GntTreeRow *gnt_tree_add_row_after(GntTree *tree, void *key, const char *text, void *parent, void *bigbro); |
64 | 66 |
65 gpointer gnt_tree_get_selection_data(GntTree *tree); | 67 gpointer gnt_tree_get_selection_data(GntTree *tree); |
66 | 68 |
67 int gnt_tree_get_selection_index(GntTree *tree); | 69 int gnt_tree_get_selection_index(GntTree *tree); |
68 | 70 |
69 void gnt_tree_remove(GntTree *tree, gpointer key); | 71 void gnt_tree_remove(GntTree *tree, gpointer key); |
70 | 72 |
73 /* Returns the visible line number of the selected row */ | |
74 int gnt_tree_get_selection_visible_line(GntTree *tree); | |
75 | |
71 G_END_DECLS | 76 G_END_DECLS |
72 | 77 |
73 #endif /* GNT_TREE_H */ | 78 #endif /* GNT_TREE_H */ |