Method
GLibNodefind_child
Declaration [src]
GNode*
g_node_find_child (
GNode* node,
GTraverseFlags flags,
gpointer data
)
Description [src]
Finds the first child of a GNode with the given data.
This method is not directly available to language bindings.
Parameters
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 child GNode, or NULL if the data is not found.
| The returned data is owned by the instance. |