Node.isAncestor

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.

class Node
bool
isAncestor

Parameters

descendant Node

a #GNode

Return Value

Type: bool

%TRUE if @node is an ancestor of @descendant

Meta