Function

GLibNodeTraverseFunc

Declaration

gboolean
(* GNodeTraverseFunc) (
  GNode* node,
  gpointer data
)

Description

Specifies the type of function passed to g_node_traverse(). The function is called with each of the nodes visited, together with the user data passed to g_node_traverse(). If the function returns TRUE, then the traversal is stopped.

Parameters

node GNode
 

A GNode.

 The data is owned by the caller of the function.
data gpointer
 

User data passed to g_node_traverse().

Return value

Returns: gboolean
 

TRUE to stop the traversal.