Node.childrenForeach

void childrenForeach(glib.types.TraverseFlags flags, glib.types.NodeForeachFunc func)

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.

Parameters

flagswhich types of children are to be visited, one of G_TRAVERSE_ALL, G_TRAVERSE_LEAVES and G_TRAVERSE_NON_LEAVES
functhe function to call for each visited node