diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-02 04:35:26 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-11-02 04:35:26 +0800 |
commit | c5e2fd8592f00928776550e078f9eeba31caa163 (patch) | |
tree | 5be84c3f277c1ce679b644c04ad8334c7f345a2a /widgets/table/e-table-group.h | |
parent | c8d14b53ef41de80458405ffadb0721458b7add9 (diff) | |
download | gsoc2013-evolution-c5e2fd8592f00928776550e078f9eeba31caa163.tar.gz gsoc2013-evolution-c5e2fd8592f00928776550e078f9eeba31caa163.tar.zst gsoc2013-evolution-c5e2fd8592f00928776550e078f9eeba31caa163.zip |
Added my widgets stuff -miguel
svn path=/trunk/; revision=1364
Diffstat (limited to 'widgets/table/e-table-group.h')
-rw-r--r-- | widgets/table/e-table-group.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/widgets/table/e-table-group.h b/widgets/table/e-table-group.h new file mode 100644 index 0000000000..ab79d317e9 --- /dev/null +++ b/widgets/table/e-table-group.h @@ -0,0 +1,23 @@ +#ifndef _E_TABLE_TREE_H_ +#define _E_TABLE_TREE_H_ + +typedef struct { + char *title; + + union { + ETableModel *table; + GSList *children; + } u; + + guint expanded :1; + guint is_leaf :1; +} ETableGroup; + +ETableGroup *e_table_group_new (const char *title, ETableModel *table); +ETableGroup *e_table_group_new_leaf (const char *title); +void e_table_group_destroy (ETableGroup *etg); + +int e_table_group_size (ETableGroup *egroup); +void e_table_group_append_child (ETableGroup *etg, ETableGroup *child) + +#endif /* _E_TABLE_TREE_H_ */ |