Gtk.IconView.prototype.get_model

function get_model():Gtk.TreeModel {
    // Gjs wrapper for gtk_icon_view_get_model()
}

Returns the model the Gtk.IconView is based on. Returns null if the model is unset.

Since 2.6

Returns

A Gtk.TreeModel, or null if none is currently being used.