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.

Parameters

flags glib.types.TraverseFlags

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

func glib.types.NodeForeachFunc

the function to call for each visited node