Method

GtkWidgetPathiter_get_sibling_index

Declaration [src]

guint
gtk_widget_path_iter_get_sibling_index (
  const GtkWidgetPath* path,
  gint pos
)

Description [src]

Returns the index into the list of siblings for the element at pos as returned by gtk_widget_path_iter_get_siblings(). If that function would return NULL because the element at pos has no siblings, this function will return 0.

Parameters

pos

Type: gint

Position to get the sibling index for, -1 for the path head.

Return value

Type: guint

0 or the index into the list of siblings for the element at pos.