GTraverseFlags

Specifies which nodes are visited during several of the tree functions, including Node.traverse and Node.find.

Values

ValueMeaning
LEAVES1

only leaf nodes should be visited. This name has been introduced in 2.6, for older version use G_TRAVERSE_LEAFS.

NON_LEAVES2

only non-leaf nodes should be visited. This name has been introduced in 2.6, for older version use G_TRAVERSE_NON_LEAFS.

ALL3

all nodes should be visited.

MASK3

a mask of all traverse flags.

LEAFS1

identical to G_TRAVERSE_LEAVES.

NON_LEAFS2

identical to G_TRAVERSE_NON_LEAVES.