Gtk.IconView.new_with_model

function new_with_model(model:Gtk.TreeModel):Gtk.Widget {
    // Gjs wrapper for gtk_icon_view_new_with_model()
}

Creates a new Gtk.IconView widget with the model model.

Since 2.6

model

The model.

Returns

A newly created Gtk.IconView widget.