TreePath.isAncestor

bool isAncestor(gtk.tree_path.TreePath descendant)

Returns true if descendant is a descendant of path.

Parameters

descendantanother [gtk.tree_path.TreePath]

Returns

true if descendant is contained inside path