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 #GtkTreeIter

descendant TreeIter

A valid #GtkTreeIter

Return Value

Type: bool

%TRUE, if @iter is an ancestor of @descendant

Meta