Node.nNodes

Gets the number of nodes in a tree.

class Node
uint
nNodes
(
GTraverseFlags flags
)

Parameters

flags GTraverseFlags

which types of children are to be counted, one of %G_TRAVERSE_ALL, %G_TRAVERSE_LEAVES and %G_TRAVERSE_NON_LEAVES

Return Value

Type: uint

the number of nodes in the tree

Meta