diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-20 23:25:42 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-01-21 13:33:45 -0500 |
commit | 9f815edbf9583493c9686b923e9f1f6b9ac70e8c (patch) | |
tree | e5fea84dbd159371d62b2d164ca6f65e1a679cd3 /gtk/gtkcelllayout.h | |
parent | 4f8ae445949138855517cdd5c780bc7bd83e2a93 (diff) | |
download | gtk+-9f815edbf9583493c9686b923e9f1f6b9ac70e8c.tar.gz |
docs: add docs for GtkCellLayoutIface
Diffstat (limited to 'gtk/gtkcelllayout.h')
-rw-r--r-- | gtk/gtkcelllayout.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/gtk/gtkcelllayout.h b/gtk/gtkcelllayout.h index 8f3ee49efe..a0e17d509f 100644 --- a/gtk/gtkcelllayout.h +++ b/gtk/gtkcelllayout.h @@ -55,10 +55,32 @@ typedef void (* GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout, GtkTreeIter *iter, gpointer data); +/** + * GtkCellLayoutIface: + * @pack_start: Packs the cell into the beginning of cell_layout. + * @pack_end: Adds the cell to the end of cell_layout. + * @clear: Unsets all the mappings on all renderers on cell_layout and + * removes all renderers from cell_layout. + * @add_attribute: Adds an attribute mapping to the list in + * cell_layout. + * @set_cell_data_func: Sets the #GtkCellLayoutDataFunc to use for + * cell_layout. + * @clear_attributes: Clears all existing attributes previously set + * with gtk_cell_layout_set_attributes(). + * @reorder: Re-inserts cell at position. + * @get_cells: Get the cell renderers which have been added to + * cell_layout. + * @get_area: Get the underlying #GtkCellArea which might be + * cell_layout if called on a #GtkCellArea or might be NULL if no + * #GtkCellArea is used by cell_layout. + */ struct _GtkCellLayoutIface { + /*< private >*/ GTypeInterface g_iface; + /*< public >*/ + /* Virtual Table */ void (* pack_start) (GtkCellLayout *cell_layout, GtkCellRenderer *cell, |