Method

GLibNodedepth

Declaration [src]

guint
g_node_depth (
  GNode* node
)

Description [src]

Gets the depth of a GNode.

If node is NULL the depth is 0. The root node has a depth of 1. For the children of the root node the depth is 2. And so on.

Return value

Type: guint

The depth of the GNode.