Function

GLibTraverseFunc

Declaration

gboolean
(* GTraverseFunc) (
  gpointer key,
  gpointer value,
  gpointer data
)

Description

Specifies the type of function passed to g_tree_traverse(). It is passed the key and value of each node, together with the user_data parameter passed to g_tree_traverse(). If the function returns TRUE, the traversal is stopped.

Parameters

key gpointer
 

A key of a GTree node.

value gpointer
 

The value corresponding to the key.

data gpointer
 

User data passed to g_tree_traverse()

Return value

Returns: gboolean
 

TRUE to stop the traversal.