Gtk.IconView.prototype.set_model
function set_model(model:Gtk.TreeModel):void { // Gjs wrapper for gtk_icon_view_set_model() }
Sets the model for a Gtk.IconView. If the icon_view already has a model set, it will remove it before setting the new model. If model is null, then it will unset the old model.
Since 2.6
- model
The model.