void g_tree_traverse ( GTree* tree, GTraverseFunc traverse_func, GTraverseType traverse_type, gpointer user_data )
Calls the given function for each node in the
Deprecated since: 2.2
The order of a balanced tree is somewhat arbitrary.
If you just want to visit all nodes in sorted order, use
g_tree_foreach() instead. If you really need to visit nodes in
a different order, consider using an [n-ary tree][glib-N-ary-Trees].
This method is not directly available to language bindings.
The function to call for each node visited. If this function returns
TRUE, the traversal is stopped.
The order in which nodes are visited, one of
User data to pass to the function.
The argument can be
The data is owned by the caller of the method.