gtkTreeViewInsertColumnWithDataFunc  package:RGtk2  R Documentation

_g_t_k_T_r_e_e_V_i_e_w_I_n_s_e_r_t_C_o_l_u_m_n_W_i_t_h_D_a_t_a_F_u_n_c

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

     Convenience function that inserts a new column into the
     'GtkTreeView' with the given cell renderer and a 'GtkCellDataFunc'
     to set cell renderer attributes (normally using data from the
     model). See also 'gtkTreeViewColumnSetCellDataFunc',
     'gtkTreeViewColumnPackStart'. If 'tree.view' has "fixed_height"
     mode enabled, then the new column will have its "sizing" property
     set to be GTK_TREE_VIEW_COLUMN_FIXED.

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

     gtkTreeViewInsertColumnWithDataFunc(object, position, title, cell, func, data = NULL)

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

'object': ['GtkTreeView']  a 'GtkTreeView'

'position': [integer]  Position to insert, -1 for append

 'title': [character]  column title

  'cell': ['GtkCellRenderer']  cell renderer for column

  'func': ['GtkTreeCellDataFunc']  function to set attributes of cell
          renderer

  'data': [R object]  data for 'func'

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

     [integer]  number of columns in the tree view post-insert

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

     Derived by RGtkGen from GTK+ documentation

