GtkCellLayout
An interface for packing cells
#GtkCellLayout is an interface to be implemented by all objects which
want to provide a #GtkTreeViewColumn-like API for packing cells, setting
attributes and data funcs.
One of the notable features provided by implementations of GtkCellLayout
are attributes. Attributes let you set the properties
in flexible ways. They can just be set to constant values like regular
properties. But they can also be mapped to a column of the underlying
tree model with gtk_cell_layout_set_attributes(), which means that the value
of the attribute can change from cell to cell as they are rendered by the
cell renderer. Finally, it is possible to specify a function with
gtk_cell_layout_set_cell_data_func() that is called to determine the value
of the attribute for each cell that is rendered.
@g_iface:
@pack_start:
@pack_end:
@clear:
@add_attribute:
@set_cell_data_func:
@clear_attributes:
@reorder:
@get_cells:
A function which should set the value of @cell_layout's cell renderer(s)
as appropriate.
@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()
@cell_layout:
@cell:
@expand:
@cell_layout:
@cell:
@expand:
@cell_layout:
@Returns:
@cell_layout:
@cell:
@position:
@cell_layout:
@cell_layout:
@cell:
@Varargs:
@cell_layout:
@cell:
@attribute:
@column:
@cell_layout:
@cell:
@func:
@func_data:
@destroy:
@cell_layout:
@cell: