childIndex

fun childIndex(data: <Error class: unknown class>? = null): <Error class: unknown class>(source)

Gets the position of the first child of a #GNode which contains the given data.

Return

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

Parameters

data

the data to find