API Version: 2.0
Library Version: 2.81.0
Generated by gi-docgen 2023.1
guint g_node_max_height ( GNode* root )
Gets the maximum height of all branches beneath a GNode. This is the maximum distance from the GNode to all leaf nodes.
GNode
If root is NULL, 0 is returned. If root has no children, 1 is returned. If root has children, 2 is returned. And so on.
root
NULL
Type: guint
guint
The maximum height of the tree beneath root.