Function

GLibTraverseNodeFunc

Declaration

gboolean
(* GTraverseNodeFunc) (
  GTreeNode* node,
  gpointer data
)

Description [src]

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

Available since:2.68

Parameters

node GTreeNode
 

A GTreeNode.

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

User data passed to g_tree_foreach_node()

Return value

Returns: gboolean
 

TRUE to stop the traversal.