Method
GLibNodefind
Declaration
GNode*
g_node_find (
GNode* root,
GTraverseType order,
GTraverseFlags flags,
gpointer data
)
Parameters
order-
Type:
GTraverseTypeThe order in which nodes are visited -
G_IN_ORDER,G_PRE_ORDER,G_POST_ORDER, orG_LEVEL_ORDER. flags-
Type:
GTraverseFlagsWhich types of children are to be searched, one of
G_TRAVERSE_ALL,G_TRAVERSE_LEAVESandG_TRAVERSE_NON_LEAVES. data-
Type:
gpointerThe data to find.
The argument can be NULL.The data is owned by the caller of the method.
Return value
Type: GNode
The found GNode, or NULL if the data is not found.
| The returned data is owned by the instance. |