Node.childIndex

Gets the position of the first child of a #GNode 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

Meta