aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-tree.h
blob: e7e125a6af89bbeaf0c869f45595198ad252b998 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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_ */