summaryrefslogtreecommitdiff
path: root/gtk/gtkcellareacontext.h
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-03 16:29:11 +0900
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-12-03 16:29:11 +0900
commit4c165de31fec151c0f4dc020bd489d12e5a2e57b (patch)
tree9dc7d55285b88942214c523fbe49d9bac6ca9b51 /gtk/gtkcellareacontext.h
parentb84f5aa4dd44adb1af305e2f96260f549d91ec08 (diff)
downloadgtk+-4c165de31fec151c0f4dc020bd489d12e5a2e57b.tar.gz
Added gtk-doc to GtkCellArea & GtkCellAreaContext.
Diffstat (limited to 'gtk/gtkcellareacontext.h')
-rw-r--r--gtk/gtkcellareacontext.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtkcellareacontext.h b/gtk/gtkcellareacontext.h
index 2338074a2d..549977f351 100644
--- a/gtk/gtkcellareacontext.h
+++ b/gtk/gtkcellareacontext.h
@@ -49,15 +49,27 @@ struct _GtkCellAreaContext
GtkCellAreaContextPrivate *priv;
};
+/**
+ * GtkCellAreaContextClass:
+ * @allocate: This tells the context that an allocation width or height (or both)
+ * have been decided for a group of rows. The context should store any allocations
+ * for internally aligned cells at this point so that they dont need to be
+ * recalculated at gtk_cell_area_render() time.
+ * @reset: Clear any previously stored information about requested and allocated
+ * sizes for the context.
+ */
struct _GtkCellAreaContextClass
{
+ /*< private >*/
GObjectClass parent_class;
+ /*< public >*/
void (* allocate) (GtkCellAreaContext *context,
gint width,
gint height);
void (* reset) (GtkCellAreaContext *context);
+ /*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);