gtkCellLayoutAddAttribute {RGtk2}R Documentation

gtkCellLayoutAddAttribute

Description

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 parameter on cell 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.

Usage

gtkCellLayoutAddAttribute(object, cell, attribute, column)

Arguments

object [GtkCellLayout] A GtkCellLayout.
cell [GtkCellRenderer] A GtkCellRenderer.
attribute [character] An attribute on the renderer.
column [integer] The column position on the model to get the attribute from.

Details

Since 2.4

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]