aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-tree.h')
-rw-r--r--widgets/table/e-table-tree.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/widgets/table/e-table-tree.h b/widgets/table/e-table-tree.h
new file mode 100644
index 0000000000..e7e125a6af
--- /dev/null
+++ b/widgets/table/e-table-tree.h
@@ -0,0 +1,19 @@
+#ifndef _E_TABLE_TREE_H_
+#define _E_TABLE_TREE_H_
+
+typedef struct {
+ char *title;
+
+ union {
+ ETableModel *table;
+ GList *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);
+
+#endif /* _E_TABLE_TREE_H_ */