From abed3a2d4189a7931e67a3a7fb1f22b630c82a4b Mon Sep 17 00:00:00 2001 From: Christopher James Lahey Date: Mon, 11 Mar 2002 23:10:02 +0000 Subject: Added e-cell-vbox.lo. 2002-03-11 Christopher James Lahey * gal/Makefile.am (libgal_la_LIBADD): Added e-cell-vbox.lo. From gal/e-table/ChangeLog: 2002-03-11 Christopher James Lahey * Makefile.am (libetable_la_SOURCES): Added e-cell-vbox.c. (libetableinclude_HEADERS): Added e-cell-vbox.h. * e-cell-vbox.c, e-cell-vbox.h: New ECell to take multiple other ECells and use them all in a vertical series. svn path=/trunk/; revision=16110 --- widgets/table/e-cell-vbox.h | 68 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 widgets/table/e-cell-vbox.h (limited to 'widgets/table/e-cell-vbox.h') diff --git a/widgets/table/e-cell-vbox.h b/widgets/table/e-cell-vbox.h new file mode 100644 index 0000000000..c5207561f5 --- /dev/null +++ b/widgets/table/e-cell-vbox.h @@ -0,0 +1,68 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ +/* + * e-cell-vbox.h - Vbox cell object. + * Copyright 1999 - 2002, Ximian, Inc. + * + * Authors: + * Chris Toshok + * Chris Lahey +#include +#include + +BEGIN_GNOME_DECLS + +#define E_CELL_VBOX_TYPE (e_cell_vbox_get_type ()) +#define E_CELL_VBOX(o) (GTK_CHECK_CAST ((o), E_CELL_VBOX_TYPE, ECellVbox)) +#define E_CELL_VBOX_CLASS(k) (GTK_CHECK_CLASS_CAST((k), E_CELL_VBOX_TYPE, ECellVboxClass)) +#define E_IS_CELL_VBOX(o) (GTK_CHECK_TYPE ((o), E_CELL_VBOX_TYPE)) +#define E_IS_CELL_VBOX_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_CELL_VBOX_TYPE)) + +typedef struct { + ECell parent; + + int subcell_count; + ECell **subcells; + int *model_cols; +} ECellVbox; + +typedef struct { + ECellClass parent_class; +} ECellVboxClass; + +GtkType e_cell_vbox_get_type (void); +ECell *e_cell_vbox_new (void); +void e_cell_vbox_append (ECellVbox *vbox, + ECell *subcell, + int model_col); + + +END_GNOME_DECLS + +#endif /* _E_CELL_VBOX_H_ */ + + -- cgit