| gtkTreeViewColumnAddAttribute {RGtk2} | R Documentation |
Adds an attribute mapping to the list in tree.column. The column is the
column of the model to get a value from, and the attribute is the
parameter on cell.renderer to be set from the 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.
gtkTreeViewColumnAddAttribute(object, cell.renderer, attribute, column)
|
[GtkTreeViewColumn] A GtkTreeViewColumn. |
|
[GtkCellRenderer] the GtkCellRenderer to set attributes on |
|
[character] An attribute on the renderer |
|
[integer] The column position on the model to get the attribute from. |
Derived by RGtkGen from GTK+ documentation