Last updated: Mon, 21 May 2012 view this page in English
GtkCellLayout::add_attribute
add_attribute(GtkCellRenderercell, string attribute, int column);
Adds an attribute mapping to the list in the 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.
User Contributed Notes gtk.gtkcelllayout.method.add_attribute.php
There are no user contributed notes for this page.