Method

GtkIconViewget_item_row

since: 2.22

Declaration [src]

gint
gtk_icon_view_get_item_row (
  GtkIconView* icon_view,
  GtkTreePath* path
)

Description [src]

Gets the row in which the item path is currently displayed. Row numbers start at 0.

Available since: 2.22

Parameters

path

Type: GtkTreePath

The GtkTreePath of the item.

The data is owned by the caller of the method.

Return value

Type: gint

The row in which the item is displayed.