Gtk.IconView.prototype.set_columns

function set_columns(columns:Number):void {
    // Gjs wrapper for gtk_icon_view_set_columns()
}

Sets the ::columns property which determines in how many columns the icons are arranged. If columns is -1, the number of columns will be chosen automatically to fill the available area.

Since 2.6

columns

the number of columns