TraverseType

class TraverseType

Specifies the type of traversal performed by traverse(), traverse() and find().

The different orders are illustrated here:

  • In order: A, B, C, D, E, F, G, H, I

https://docs.gtk.org/glib/Sorted_binary_tree_inorder.svg
  • Pre order: F, B, A, D, C, E, G, I, H

https://docs.gtk.org/glib/Sorted_binary_tree_preorder.svg
  • Post order: A, C, E, D, B, H, I, G, F

https://docs.gtk.org/glib/Sorted_binary_tree_postorder.svg
  • Level order: F, B, G, A, D, I, C, E, H

https://docs.gtk.org/glib/Sorted_binary_tree_breadth-first_traversal.svg

Fields

class TraverseType
IN_ORDER

The type of the None singleton.

LEVEL_ORDER

The type of the None singleton.

POST_ORDER

The type of the None singleton.

PRE_ORDER

The type of the None singleton.