Node.childrenForeach

Calls a function for each of the children of a #GNode. Note that it doesn't descend beneath the child nodes. @func must not do anything that would modify the structure of the tree.

class Node
void
childrenForeach
(
GTraverseFlags flags
,
GNodeForeachFunc func
,
void* data
)

Parameters

flags GTraverseFlags

which types of children are to be visited, one of %G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES

func GNodeForeachFunc

the function to call for each visited node

data void*

user data to pass to the function

Meta