diff options
author | Arturo Espinosa <unammx@src.gnome.org> | 1999-12-28 14:09:02 +0800 |
---|---|---|
committer | Arturo Espinosa <unammx@src.gnome.org> | 1999-12-28 14:09:02 +0800 |
commit | f14fd12551bbc2b8207f678b560688fdd1a8172f (patch) | |
tree | 60f336d92c66f7766c48c0844830bab3a2881f2b /widgets/e-table/e-table-group.h | |
parent | 23185a25463ccce06e1db8fd9babd4575629f39f (diff) | |
download | gsoc2013-evolution-f14fd12551bbc2b8207f678b560688fdd1a8172f.tar gsoc2013-evolution-f14fd12551bbc2b8207f678b560688fdd1a8172f.tar.gz gsoc2013-evolution-f14fd12551bbc2b8207f678b560688fdd1a8172f.tar.bz2 gsoc2013-evolution-f14fd12551bbc2b8207f678b560688fdd1a8172f.tar.lz gsoc2013-evolution-f14fd12551bbc2b8207f678b560688fdd1a8172f.tar.xz gsoc2013-evolution-f14fd12551bbc2b8207f678b560688fdd1a8172f.tar.zst gsoc2013-evolution-f14fd12551bbc2b8207f678b560688fdd1a8172f.zip |
Sync, does not work, dont try it, just backing up -miguel
svn path=/trunk/; revision=1521
Diffstat (limited to 'widgets/e-table/e-table-group.h')
-rw-r--r-- | widgets/e-table/e-table-group.h | 46 |
1 files changed, 37 insertions, 9 deletions
diff --git a/widgets/e-table/e-table-group.h b/widgets/e-table/e-table-group.h index 18f4b710b1..468d5dd794 100644 --- a/widgets/e-table/e-table-group.h +++ b/widgets/e-table/e-table-group.h @@ -14,22 +14,50 @@ typedef struct { GnomeCanvasGroup group; - ETableHeader *header; + /* + * The ETableCol used to group this set + */ ETableCol *ecol; - int col; - int open; - GnomeCanvasItem *rect, *child; + + /* + * The canvas rectangle that contains the children + */ + GnomeCanvasItem *rect; + + /* + * Dimensions of the ETableGroup + */ + int width, height; + + /* + * State: the ETableGroup is open or closed + */ + guint open:1; + + /* + * Whether we should add indentation and open/close markers, + * or if we just act as containers of subtables. + */ + guint transparent:1; + + /* + * List of GnomeCanvasItems we stack + */ + GSList *children; } ETableGroup; typedef struct { GnomeCanvasGroupClass parent_class; + void (*height_changed) (ETableGroup *etg); } ETableGroupClass; -GnomeCanvasItem *e_table_group_new (GnomeCanvasGroup *parent, ETableHeader *header, - int col, GnomeCanvasItem *child, int open); +GnomeCanvasItem *e_table_group_new (GnomeCanvasGroup *parent, ETableCol *ecol, + gboolean open, gboolean transparent); void e_table_group_construct (GnomeCanvasGroup *parent, ETableGroup *etg, - ETableHeader *header, int col, - GnomeCanvasItem *child, int open); -GtkType e_table_group_get_type (void); + ETableCol *ecol, gboolean open, gboolean transparent); + +void e_table_group_add (ETableGroup *etg, GnomeCanvasItem *child); + +GtkType e_table_group_get_type (void); #endif /* _E_TABLE_TREE_H_ */ |