Mercurial > pidgin.yaz
comparison console/libgnt/gnttree.h @ 13931:917a71dd02eb
[gaim-migrate @ 16458]
Add text-attributes for rows in a GntTree. Use this feature to dim
idle buddies in the buddylist.
committer: Tailor Script <tailor@pidgin.im>
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 08 Jul 2006 07:13:29 +0000 |
parents | cc60d0861337 |
children | cd2da4b079cf |
comparison
equal
deleted
inserted
replaced
13930:3dbcbc5e57e1 | 13931:917a71dd02eb |
---|---|
3 | 3 |
4 #include "gntwidget.h" | 4 #include "gntwidget.h" |
5 #include "gnt.h" | 5 #include "gnt.h" |
6 #include "gntcolors.h" | 6 #include "gntcolors.h" |
7 #include "gntkeys.h" | 7 #include "gntkeys.h" |
8 #include "gnttextview.h" | |
8 | 9 |
9 #define GNT_TYPE_TREE (gnt_tree_get_gtype()) | 10 #define GNT_TYPE_TREE (gnt_tree_get_gtype()) |
10 #define GNT_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_TREE, GntTree)) | 11 #define GNT_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_TREE, GntTree)) |
11 #define GNT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_TREE, GntTreeClass)) | 12 #define GNT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_TREE, GntTreeClass)) |
12 #define GNT_IS_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_TREE)) | 13 #define GNT_IS_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_TREE)) |
77 | 78 |
78 void gnt_tree_set_choice(GntTree *tree, void *key, gboolean set); | 79 void gnt_tree_set_choice(GntTree *tree, void *key, gboolean set); |
79 | 80 |
80 gboolean gnt_tree_get_choice(GntTree *tree, void *key); | 81 gboolean gnt_tree_get_choice(GntTree *tree, void *key); |
81 | 82 |
83 void gnt_tree_set_row_flags(GntTree *tree, void *key, GntTextFormatFlags flags); | |
84 | |
82 G_END_DECLS | 85 G_END_DECLS |
83 | 86 |
84 #endif /* GNT_TREE_H */ | 87 #endif /* GNT_TREE_H */ |