Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gtkTreeModelIterNthChild

gtkTreeModelIterNthChild


Description

Sets iter to be the child of parent, using the given index. The first index is 0. If n is too big, or parent has no children, iter is set to an invalid iterator and FALSE is returned. parent will remain a valid node after this function has been called. As a special case, if parent is NULL, then the nth root node is set.

Usage

gtkTreeModelIterNthChild(object, parent = NULL, n)

Arguments

object

A GtkTreeModel.

parent

The GtkTreeIter to get the child from, or NULL. [ allow-none ]

n

Then index of the desired child.

Value

A list containing the following elements:

retval

[logical] TRUE, if parent has an nth child.

iter

The GtkTreeIter to set to the nth child.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2

R Bindings for Gtk 2.8.0 and Above

v2.20.36
GPL
Authors
Michael Lawrence <michafla@gene.com> and Duncan Temple Lang <duncan@wald.ucdavis.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.