Mercurial > pidgin
comparison finch/libgnt/gnttree.h @ 15928:f00f2e283ffb
Some define changes. This helps in generating the python bindings.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Mon, 26 Mar 2007 04:10:39 +0000 |
parents | 0e3a8505ebbe |
children | 790d1d003825 |
comparison
equal
deleted
inserted
replaced
15927:846a00760176 | 15928:f00f2e283ffb |
---|---|
16 | 16 |
17 #define GNT_TREE_FLAGS(obj) (GNT_TREE(obj)->priv.flags) | 17 #define GNT_TREE_FLAGS(obj) (GNT_TREE(obj)->priv.flags) |
18 #define GNT_TREE_SET_FLAGS(obj, flags) (GNT_TREE_FLAGS(obj) |= flags) | 18 #define GNT_TREE_SET_FLAGS(obj, flags) (GNT_TREE_FLAGS(obj) |= flags) |
19 #define GNT_TREE_UNSET_FLAGS(obj, flags) (GNT_TREE_FLAGS(obj) &= ~(flags)) | 19 #define GNT_TREE_UNSET_FLAGS(obj, flags) (GNT_TREE_FLAGS(obj) &= ~(flags)) |
20 | 20 |
21 typedef struct _GnTree GntTree; | 21 typedef struct _GntTree GntTree; |
22 typedef struct _GnTreePriv GntTreePriv; | 22 typedef struct _GntTreePriv GntTreePriv; |
23 typedef struct _GnTreeClass GntTreeClass; | 23 typedef struct _GntTreeClass GntTreeClass; |
24 | 24 |
25 typedef struct _GnTreeRow GntTreeRow; | 25 typedef struct _GntTreeRow GntTreeRow; |
26 typedef struct _GnTreeCol GntTreeCol; | 26 typedef struct _GntTreeCol GntTreeCol; |
27 | 27 |
28 struct _GnTree | 28 struct _GntTree |
29 { | 29 { |
30 GntWidget parent; | 30 GntWidget parent; |
31 | 31 |
32 GntTreeRow *current; /* current selection */ | 32 GntTreeRow *current; /* current selection */ |
33 | 33 |
56 int search_timeout; | 56 int search_timeout; |
57 | 57 |
58 GCompareFunc compare; | 58 GCompareFunc compare; |
59 }; | 59 }; |
60 | 60 |
61 struct _GnTreeClass | 61 struct _GntTreeClass |
62 { | 62 { |
63 GntWidgetClass parent; | 63 GntWidgetClass parent; |
64 | 64 |
65 void (*selection_changed)(GntTreeRow *old, GntTreeRow * current); | 65 void (*selection_changed)(GntTreeRow *old, GntTreeRow * current); |
66 void (*toggled)(GntTree *tree, gpointer key); | 66 void (*toggled)(GntTree *tree, gpointer key); |