gtkTreeModelIterNthChild        package:RGtk2        R Documentation

_g_t_k_T_r_e_e_M_o_d_e_l_I_t_e_r_N_t_h_C_h_i_l_d

_D_e_s_c_r_i_p_t_i_o_n:

     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 'n'th root node is set.

_U_s_a_g_e:

     gtkTreeModelIterNthChild(object, parent = NULL, n)

_A_r_g_u_m_e_n_t_s:

'object': ['GtkTreeModel']  A 'GtkTreeModel'.

'parent': ['GtkTreeIter']  The 'GtkTreeIter' to get the child from, or
          'NULL'.

     'n': [integer]  Then index of the desired child.

_V_a_l_u_e:

     A list containing the following elements: 

  retval: [logical] 'TRUE', if 'parent' has an 'n'th child.

  'iter': ['GtkTreeIter']  The 'GtkTreeIter' to set to the nth child.

_A_u_t_h_o_r(_s):

     Derived by RGtkGen from GTK+ documentation

