Gtk.IconView.prototype.get_item_column

function get_item_column(path:Gtk.TreePath):Number {
    // Gjs wrapper for gtk_icon_view_get_item_column()
}

Gets the column in which the item path is currently displayed. Column numbers start at 0.

Since 2.22

path

the Gtk.TreePath of the item

Returns

The column in which the item is displayed