TreeStore.isAncestor

Returns TRUE if iter is an ancestor of descendant. That is, iter is the parent (or grandparent or great-grandparent) of descendant.

class TreeStore
bool
isAncestor

Parameters

iter TreeIter

A valid gtk.TreeIter

descendant TreeIter

A valid gtk.TreeIter

Return Value

Type: bool

TRUE, if iter is an ancestor of descendant