aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-reflow/e-reflow.h
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-reflow/e-reflow.h')
-rw-r--r--widgets/e-reflow/e-reflow.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/widgets/e-reflow/e-reflow.h b/widgets/e-reflow/e-reflow.h
index 3a731474cb..54de59ba55 100644
--- a/widgets/e-reflow/e-reflow.h
+++ b/widgets/e-reflow/e-reflow.h
@@ -54,10 +54,8 @@ struct _EReflow
GnomeCanvasGroup parent;
/* item specific fields */
- /* EBook *book; */
-
GList *items; /* Of type GnomeCanvasItem */
- GList *columns; /* Of type GList pointing to type GnomeCanvasItem (points into items) */
+ GList *columns; /* Of type GList of type GnomeCanvasItem (points into items) */
gint column_count; /* Number of columnns */
double minimum_width;
@@ -87,12 +85,16 @@ struct _EReflowClass
{
GnomeCanvasGroupClass parent_class;
- void (* resize) (EReflow *reflow);
+ /* Virtual methods. */
+ void (* add_item) (EReflow *reflow, GnomeCanvasItem *item);
};
-/* To be added to a reflow, an item must have the arguments "x", "y",
- and "width" as Read/Write arguments and "height" as a Read Only
- argument. It must also have a "resize" signal. */
+/*
+ * To be added to a reflow, an item must have the argument "width" as
+ * a Read/Write argument and "height" as a Read Only argument. It
+ * should also do an ECanvas parent reflow request if its size
+ * changes.
+ */
void e_reflow_add_item(EReflow *e_reflow, GnomeCanvasItem *item);
GtkType e_reflow_get_type (void);
0'>2014-02-261-2/+2 * - Update to 4.0.6.jkim2013-10-262-3/+2 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Update to 4.0.5.jkim2013-08-231-2/+2 * Update to 4.0.4.jkim2013-06-201-2/+2 * Update to 4.0.3.jkim2013-05-101-2/+2 * Update to 4.0.2.jkim2013-04-171-2/+2 * Update to 4.0.1.jkim2013-03-092-3/+3 * Update to 3.6.5.jkim2013-02-051-2/+2 * - Update to 3.5.7.jkim2012-10-272-7/+2 * - Update to 3.5.6.jkim2012-08-241-2/+2 * - Update LibreOffice and the language packs to 3.5.5.jkim2012-07-181-2/+2 * - The FreeBSD Office team is proud to announce LibreOffice.org 3.5.4 releasefluffy2012-07-011-2/+2