Node.isAncestor

bool isAncestor(glib.node.Node descendant)

Returns true if node is an ancestor of descendant. This is true if node is the parent of descendant, or if node is the grandparent of descendant etc.

Parameters

descendanta #GNode

Returns

true if node is an ancestor of descendant