Node.childIndex

Gets the position of the first child of a glib.Node which contains the given data.

class Node
int
childIndex
(
void* data
)

Parameters

data void*

the data to find

Return Value

Type: int

the index of the child of node which contains data, or -1 if the data is not found