blob: 62bc11093f4a3f56529a5b0970bb75f3cf84c117 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef _E_TABLE_TREE_H_
#define _E_TABLE_TREE_H_
#include "e-table-model.h"
typedef struct {
char *title;
union {
ETableModel *table;
GSList *children;
} u;
guint expanded :1;
guint is_leaf :1;
} ETableGroup;
ETableGroup *e_table_group_new (ETableCol *ecol, ETableItem *item
ETableGroup *e_table_group_new_leaf (const char *title, ETableModel *table);
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_ */
|