Gtk.TreeStore.is_ancestor

### Method

# Gtk TreeStoreis_ancestor

#### Declaration [src]

    gboolean
    gtk_tree_store_is_ancestor (
      GtkTreeStore* tree_store,
      GtkTreeIter* iter,
      GtkTreeIter* descendant
    )

#### Description [src]

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

#### Parameters

`iter`

  Type: `GtkTreeIter`

  A valid `GtkTreeIter`

  The data is owned by the caller of the function.

`descendant`

  Type: `GtkTreeIter`

  A valid `GtkTreeIter`

  The data is owned by the caller of the function.

#### Return value

Type: `gboolean`

`TRUE`, if `iter` is an ancestor of `descendant`.