gtkTreeViewColumnNewWithAttributes   package:RGtk2   R Documentation

_g_t_k_T_r_e_e_V_i_e_w_C_o_l_u_m_n_N_e_w_W_i_t_h_A_t_t_r_i_b_u_t_e_s

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

     Creates a new 'GtkTreeViewColumn' with a number of default values.
      This is equivalent to calling 'gtkTreeViewColumnSetTitle',
     'gtkTreeViewColumnPackStart', and 'gtkTreeViewColumnSetAttributes'
     on the newly created 'GtkTreeViewColumn'.

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

     gtkTreeViewColumnNewWithAttributes(title, cell, ...)

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

 'title': [character]  The title to set the header to.

  'cell': ['GtkCellRenderer']  The 'GtkCellRenderer'.

   '...': A list of attributes.

_D_e_t_a_i_l_s:

     Here's a simple example:


     renderer <- gtkCellRendererText()
     column <- gtkTreeViewColumn("Title", renderer, "text" =
     TEXT_COLUMN,
                                 "foreground" = COLOR_COLUMN)


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

     ['GtkTreeViewColumn']  A newly created 'GtkTreeViewColumn'.

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

     Derived by RGtkGen from GTK+ documentation

