Enum Class TraverseType

java.lang.Object
java.lang.Enum<TraverseType>
org.gnome.glib.TraverseType
All Implemented Interfaces:
Enumeration, Serializable, Comparable<TraverseType>, Constable

@Generated("io.github.jwharm.JavaGI") public enum TraverseType extends Enum<TraverseType> implements Enumeration
Specifies the type of traversal performed by g_tree_traverse(), g_node_traverse() and g_node_find().

The different orders are illustrated here:

  • In order: A, B, C, D, E, F, G, H, I Sorted binary tree, in-order traversal
  • Pre order: F, B, A, D, C, E, G, I, H Sorted binary tree, pre-order traversal
  • Post order: A, C, E, D, B, H, I, G, F Sorted binary tree, post-order traversal
  • Level order: F, B, G, A, D, I, C, E, H Sorted binary tree, breadth-first level order traversal