Method
IdeTreeNodetraverse
Declaration
void
ide_tree_node_traverse (
IdeTreeNode* self,
GTraverseType traverse_type,
GTraverseFlags traverse_flags,
gint max_depth,
IdeTreeTraverseFunc traverse_func,
gpointer user_data
)
Description
Calls traverse_func
for each node that matches the requested
type, flags, and depth.
Traversal is stopped if traverse_func
returns TRUE
.
Parameters
traverse_type
-
Type:
GTraverseType
The type of traversal, pre and post supported.
traverse_flags
-
Type:
GTraverseFlags
The flags for what nodes to match.
max_depth
-
Type:
gint
The max depth for the traversal or -1 for all.
traverse_func
-
Type:
IdeTreeTraverseFunc
The callback for each matching node.
user_data
-
Type:
gpointer
User data for
traverse_func
.The argument can be NULL
.The data is owned by the caller of the method.