docs: add docs for GtkCellLayoutIface

This commit is contained in:
William Jon McCann 2014-01-20 23:25:42 -05:00
parent 4f8ae44594
commit 9f815edbf9

View File

@ -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,