Node.childPosition

int childPosition(glib.node.Node child)

Gets the position of a #GNode with respect to its siblings. child must be a child of node. The first child is numbered 0, the second 1, and so on.

Parameters

childa child of node

Returns

the position of child with respect to its siblings