diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-04 15:41:42 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2010-12-04 15:41:42 +0900 |
commit | 9c6a801f5252c07ca4afbae85f9dde6c1abfcf78 (patch) | |
tree | d84b08103282754afd9ace8301663e1cf76fb19b /gtk/gtkcelllayout.h | |
parent | 7e2571a3580673696dda82138b637b01e76d0a0e (diff) | |
download | gtk+-9c6a801f5252c07ca4afbae85f9dde6c1abfcf78.tar.gz |
Migrated GtkCellLayout documentation into the source code.
Also added a section on specifying <cell-packing> properties
in the GtkCellLayout UI description.
Diffstat (limited to 'gtk/gtkcelllayout.h')
-rw-r--r-- | gtk/gtkcelllayout.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk/gtkcelllayout.h b/gtk/gtkcelllayout.h index 0191ab5568..26957e6b2a 100644 --- a/gtk/gtkcelllayout.h +++ b/gtk/gtkcelllayout.h @@ -41,6 +41,17 @@ typedef struct _GtkCellLayout GtkCellLayout; /* dummy typedef */ typedef struct _GtkCellLayoutIface GtkCellLayoutIface; /* keep in sync with GtkTreeCellDataFunc */ +/** + * GtkCellLayoutDataFunc: + * @cell_layout: a #GtkCellLayout + * @cell: the cell renderer whose value is to be set + * @tree_model: the model + * @iter: a #GtkTreeIter indicating the row to set the value for + * @data: user data passed to gtk_cell_layout_set_cell_data_func() + * + * A function which should set the value of @cell_layout's cell renderer(s) + * as appropriate. + */ typedef void (* GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout, GtkCellRenderer *cell, GtkTreeModel *tree_model, |