TraverseType

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

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

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

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

Entries

Link copied to clipboard

vists a node's left child first, then the node itself, then its right child. This is the one to use if you want the output sorted according to the compare function.

Link copied to clipboard

visits a node, then its children.

Link copied to clipboard

visits the node's children, then the node itself.

Link copied to clipboard

is not implemented for glib-Balanced-Binary-Trees. For glib-N-ary-Trees, it vists the root node first, then its children, then its grandchildren, and so on. Note that this is less efficient than the other orders.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val nativeValue: <Error class: unknown class>
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.