WidgetPath.iterGetSiblingIndex

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

class WidgetPath
uint
iterGetSiblingIndex
(
int pos
)

Parameters

pos int

position to get the sibling index for, -1 for the path head

Return Value

Type: uint

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