Gtk.IconView.prototype.get_columns

function get_columns():Number {
    // Gjs wrapper for gtk_icon_view_get_columns()
}

Returns the value of the ::columns property.

Since 2.6

Returns

the number of columns, or -1