Node.find

Finds a #GNode in a tree.

class Node
find
(
GTraverseType order
,
GTraverseFlags flags
,
void* data
)

Parameters

order GTraverseType

the order in which nodes are visited - %G_IN_ORDER, %G_PRE_ORDER, %G_POST_ORDER, or %G_LEVEL_ORDER

flags GTraverseFlags

which types of children are to be searched, one of %G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES

data void*

the data to find

Return Value

Type: Node

the found #GNode, or %NULL if the data is not found

Meta