From c5e2fd8592f00928776550e078f9eeba31caa163 Mon Sep 17 00:00:00 2001 From: Arturo Espinosa Date: Mon, 1 Nov 1999 20:35:26 +0000 Subject: Added my widgets stuff -miguel svn path=/trunk/; revision=1364 --- widgets/table/e-table-group.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 widgets/table/e-table-group.h (limited to 'widgets/table/e-table-group.h') 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_ */ -- cgit