36 #define GNT_TYPE_TREE (gnt_tree_get_gtype())
37 #define GNT_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GNT_TYPE_TREE, GntTree))
38 #define GNT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GNT_TYPE_TREE, GntTreeClass))
39 #define GNT_IS_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GNT_TYPE_TREE))
40 #define GNT_IS_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_TREE))
41 #define GNT_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_TREE, GntTreeClass))
44 typedef struct _GntTreePriv GntTreePriv;
47 typedef struct _GntTreeRow GntTreeRow;
48 typedef struct _GntTreeCol GntTreeCol;
50 typedef enum _GntTreeColumnFlag {
51 GNT_TREE_COLUMN_INVISIBLE = 1 << 0,
52 GNT_TREE_COLUMN_FIXED_SIZE = 1 << 1,
53 GNT_TREE_COLUMN_BINARY_DATA = 1 << 2,
54 GNT_TREE_COLUMN_RIGHT_ALIGNED = 1 << 3,
70 guint (*hash_func)(gconstpointer);
71 gboolean (*hash_eq_func)(gconstpointer, gconstpointer);
72 GDestroyNotify key_destroy;
73 GDestroyNotify value_destroy;
81 GntTreeColumnFlag flags;
84 gboolean show_separator;
93 void (*selection_changed)(GntTreeRow *old, GntTreeRow * current);
94 void (*toggled)(
GntTree *tree, gpointer key);
96 void (*gnt_reserved1)(void);
97 void (*gnt_reserved2)(void);
98 void (*gnt_reserved3)(void);
99 void (*gnt_reserved4)(void);
631 gboolean (*func)(
GntTree *tree, gpointer key,
const char *search,
const char *current));