mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 14:20:21 +00:00
docs: add docs for GtkCellLayoutIface
This commit is contained in:
parent
4f8ae44594
commit
9f815edbf9
@ -55,10 +55,32 @@ typedef void (* GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout,
|
|||||||
GtkTreeIter *iter,
|
GtkTreeIter *iter,
|
||||||
gpointer data);
|
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
|
struct _GtkCellLayoutIface
|
||||||
{
|
{
|
||||||
|
/*< private >*/
|
||||||
GTypeInterface g_iface;
|
GTypeInterface g_iface;
|
||||||
|
|
||||||
|
/*< public >*/
|
||||||
|
|
||||||
/* Virtual Table */
|
/* Virtual Table */
|
||||||
void (* pack_start) (GtkCellLayout *cell_layout,
|
void (* pack_start) (GtkCellLayout *cell_layout,
|
||||||
GtkCellRenderer *cell,
|
GtkCellRenderer *cell,
|
||||||
|
Loading…
Reference in New Issue
Block a user