BBTree.traverse

Warning g_tree_traverse has been deprecated since version 2.2 and should not be used in newly-written code. 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. Calls the given function for each node in the GTree.

Parameters

traverseFunc GTraverseFunc

the function to call for each node visited. If this function returns TRUE, the traversal is stopped.

traverseType GTraverseType

the order in which nodes are visited, one of G_IN_ORDER, G_PRE_ORDER and G_POST_ORDER.

userData void*

user data to pass to the function.

Meta