GtkCellLayout             package:RGtk2             R Documentation

_G_t_k_C_e_l_l_L_a_y_o_u_t

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

     An interface for packing cells

_M_e_t_h_o_d_s _a_n_d _F_u_n_c_t_i_o_n_s:

     'gtkCellLayoutPackStart(object, cell, expand = TRUE)'
      'gtkCellLayoutPackEnd(object, cell, expand = TRUE)'
      'gtkCellLayoutGetCells(object)'
      'gtkCellLayoutReorder(object, cell, position)'
      'gtkCellLayoutClear(object)'
      'gtkCellLayoutSetAttributes(object, cell, ...)'
      'gtkCellLayoutAddAttribute(object, cell, attribute, column)'
      'gtkCellLayoutSetCellDataFunc(object, cell, func, func.data =
     NULL)'
      'gtkCellLayoutClearAttributes(object, cell)'

_H_i_e_r_a_r_c_h_y:

     GInterface
        +----GtkCellLayout 

_I_m_p_l_e_m_e_n_t_a_t_i_o_n_s:

     GtkCellLayout is implemented by 'GtkTreeViewColumn', 
     'GtkIconView',  'GtkCellView',  'GtkEntryCompletion', 
     'GtkComboBox' and  'GtkComboBoxEntry'.

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

     'GtkCellLayout' is an interface to be implemented by all objects
     which want to provide a 'GtkTreeViewColumn-like' API for packing
     cells, setting attributes and data funcs. 

     One of the notable features provided by implementations of
     GtkCellLayout are _attributes_. Attributes let you set the
     properties in flexible ways. They can just be set to constant
     values like regular properties. But they can also be mapped to a
     column of the underlying  tree model with
     'gtkCellLayoutSetAttributes', which means that the value  of the
     attribute can change from cell to cell as they are rendered by the
      cell renderer. Finally, it is possible to specify a function with
      'gtkCellLayoutSetCellDataFunc' that is called to determine the
     value  of the attribute for each cell that is rendered.

_G_t_k_C_e_l_l_L_a_y_o_u_t_s _a_s _G_t_k_B_u_i_l_d_a_b_l_e:

     Implementations of GtkCellLayout which also implement the
     GtkBuildable  interface ('GtkCellView', 'GtkIconView',
     'GtkComboBox', 'GtkComboBoxEntry',  'GtkEntryCompletion',
     'GtkTreeViewColumn') accept GtkCellRenderer objects as <child>
     elements in UI definitions. They support a custom  <attributes>
     element for their children, which can contain  multiple
     <attribute> elements. Each <attribute> element has  a name
     attribute which specifies a property of the cell renderer; the 
     content of the element is the attribute value.

     _A UI definition fragment specifying attributes_ <object
     class="GtkCellView">
       <child>
         <object class="GtkCellRendererText"/>
         <attributes>
           <attribute name="text">0</attribute>
         </attributes>
       </child>"
     </object>


_S_t_r_u_c_t_u_r_e_s:


     '_G_t_k_C_e_l_l_L_a_y_o_u_t' _undocumented _


_U_s_e_r _F_u_n_c_t_i_o_n_s:


     '_G_t_k_C_e_l_l_L_a_y_o_u_t_D_a_t_a_F_u_n_c(_c_e_l_l._l_a_y_o_u_t, _c_e_l_l, _t_r_e_e._m_o_d_e_l, _i_t_e_r, _d_a_t_a)' 
          A function which should set the value of 'cell.layout''s cell
          renderer(s) as appropriate. 

          '_c_e_l_l._l_a_y_o_u_t' ['GtkCellLayout'] a 'GtkCellLayout'

          '_c_e_l_l' ['GtkCellRenderer'] the cell renderer whose value is
               to be set

          '_t_r_e_e._m_o_d_e_l' ['GtkTreeModel'] the model

          '_i_t_e_r' ['GtkTreeIter'] a 'GtkTreeIter' indicating the row to
               set the value for

          '_d_a_t_a' [R object] user data passed to
               'gtkCellLayoutSetCellDataFunc'


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

     Derived by RGtkGen from GTK+ documentation

_R_e_f_e_r_e_n_c_e_s:

     <URL:
     http://developer.gnome.org/doc/API/2.0/gtk/GtkCellLayout.html>

