iter_get_sibling_index


Description:

public uint iter_get_sibling_index (int pos)

Returns the index into the list of siblings for the element at pos as returned by iter_get_siblings.

If that function would return null because the element at pos has no siblings, this function will return 0.

Parameters:

this

a WidgetPath

pos

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

Returns:

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




2022 vala-language.org