[ CCode ( has_construct_function = false , type = "GtkCellRenderer*" ) ]
public CellRendererIcon ()
Creates a new CellRendererIcon.
Adjust rendering parameters using object properties, which can be set globally via @set. Also, with CellLayout and TreeViewColumn, you can bind a property to a value in a TreeModel. For example you can bind the XfceCellRendererIcon:icon property on the cell renderer to an icon name in the model, thus rendering a different icon in each row of the TreeView.
|
the newly allocated CellRendererIcon. |