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
int
isAncestor

Parameters

iter TreeIter

A valid GtkTreeIter

descendant TreeIter

A valid GtkTreeIter

Return Value

Type: int

TRUE, if iter is an ancestor of descendant

Meta