add_attribute
Description:
Adds an attribute mapping to the list in this.
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
`GtkCellRendererText` get its values from column 2. In this context "attribute" and "property" are used interchangeably.
Parameters:
this |
a `GtkCellLayout` |
cell |
a `GtkCellRenderer` |
attribute |
a property on the renderer |
column |
the column position on the model to get the attribute from |