VirtualDeprecatedvfunc_Adds an attribute mapping to the list in cell_layout.
The column is the column of the model to get a value from, and the
attribute is the property on cell to be set from that value. So for
example if column 2 of the model contains strings, you could have the
“text” attribute of a Gtk.CellRendererText get its values from column 2.
In this context "attribute" and "property" are used interchangeably.
Deprecatedcell: Gtk.CellRenderer
Deprecatedattribute: string
a property on the renderer
Deprecatedcolumn: number
the column position on the model to get the attribute from
VirtualDeprecatedvfunc_VirtualDeprecatedvfunc_Clears all existing attributes previously set with
gtk_cell_layout_set_attributes().
Deprecatedcell: Gtk.CellRenderer
a Gtk.CellRenderer to clear the attribute mapping on
VirtualDeprecatedvfunc_Returns the underlying Gtk.CellArea which might be cell_layout
if called on a Gtk.CellArea or might be null if no Gtk.CellArea
is used by cell_layout.
VirtualDeprecatedvfunc_Returns the cell renderers which have been added to cell_layout.
VirtualDeprecatedvfunc_Adds the cell to the end of cell_layout. If expand is false, then the
cell is allocated no more space than it needs. Any unused space is
divided evenly between cells for which expand is true.
Note that reusing the same cell renderer is not supported.
Deprecatedcell: Gtk.CellRenderer
Deprecatedexpand: boolean
true if cell is to be given extra space allocated to cell_layout
VirtualDeprecatedvfunc_Packs the cell into the beginning of cell_layout. If expand is false,
then the cell is allocated no more space than it needs. Any unused space
is divided evenly between cells for which expand is true.
Note that reusing the same cell renderer is not supported.
Deprecatedcell: Gtk.CellRenderer
Deprecatedexpand: boolean
true if cell is to be given extra space allocated to cell_layout
VirtualDeprecatedvfunc_Re-inserts cell at position.
Note that cell has already to be packed into cell_layout
for this to function properly.
Deprecatedcell: Gtk.CellRenderer
a Gtk.CellRenderer to reorder
Deprecatedposition: number
new position to insert cell at
VirtualDeprecatedvfunc_Sets the Gtk.CellLayoutDataFunc to use for cell_layout.
This function is used instead of the standard attributes mapping
for setting the column value, and should set the value of cell_layout’s
cell renderer(s) as appropriate.
func may be null to remove a previously set function.
Deprecatedcell: Gtk.CellRenderer
Deprecatedfunc: Gtk.CellLayoutDataFunc
the Gtk.CellLayoutDataFunc to use
Interface for implementing CellLayout. Contains only the virtual methods that need to be implemented.