Gtk.IconView.prototype.set_item_orientation

function set_item_orientation(orientation:Gtk.Orientation):void {
    // Gjs wrapper for gtk_icon_view_set_item_orientation()
}

Sets the ::item-orientation property which determines whether the labels are drawn beside the icons instead of below.

Since 2.6

orientation

the relative position of texts and icons