Set the data model containing the actual data. The model would have column 0 as pixbuf column and column 1 as text column.
Example 75. Creating a model with pixbufs
$iv = new GtkIconView(); $model = new GtkListStore(GdkPixbuf::gtype, Gobject::TYPE_STRING); $iv->set_model($model); |
See also: get_model()