data, or -1 if the data is not found
Node.childIndex
int childIndex(void * data = null)Gets the position of the first child of a #GNode which contains the given data.
Parameters
data | the data to find |
Returns
the index of the child of node which contains