Tree
The GTree struct is an opaque data structure representing a glib-Balanced-Binary-Trees. It should be accessed only by using the following functions.
Skipped during bindings generation
parameter
key
: gpointerparameter
key
: gpointerparameter
key
: gpointerparameter
lookup_key
: gpointerparameter
key
: gpointerparameter
key
: gpointermethod
node_first
: Return type TreeNode is unsupportedmethod
node_last
: Return type TreeNode is unsupportedparameter
key
: gpointerparameter
key
: gpointerparameter
key
: gpointermethod
search
: Return type gpointer is unsupportedmethod
search_node
: Return type TreeNode is unsupportedparameter
key
: gpointermethod
traverse
: C function g_tree_traverse is ignoredparameter
key
: gpointerparameter
value_destroy_func
: DestroyNotify
Constructors
Functions
Removes all keys and values from the #GTree and decreases its reference count by one. If keys and/or values are dynamically allocated, you should either free them first or create the #GTree using g_tree_new_full(). In the latter case the destroy functions you supplied will be called on all keys and values before destroying the #GTree.
Calls the given function for each of the key/value pairs in the #GTree. The function is passed the key and value of each pair, and the given
Calls the given function for each of the nodes in the #GTree. The function is passed the pointer to the particular node, and the given