GtkCellRendererText          package:RGtk2          R Documentation

_G_t_k_C_e_l_l_R_e_n_d_e_r_e_r_T_e_x_t

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

     Renders text in a cell

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

     'gtkCellRendererTextNew()'
      'gtkCellRendererTextSetFixedHeightFromFont(object,
     number.of.rows)'
      'gtkCellRendererText()'

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

     GObject
        +----GInitiallyUnowned
              +----GtkObject
                    +----GtkCellRenderer
                          +----GtkCellRendererText
                                +----GtkCellRendererAccel
                                +----GtkCellRendererCombo
                                +----GtkCellRendererSpin 

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

     A 'GtkCellRendererText' renders a given text in its cell, using
     the font, color and  style information provided by its properties.
     The text will be ellipsized if it is  too long and the ellipsize 
     property allows it.

     If the mode is 'GTK_CELL_RENDERER_MODE_EDITABLE', the
     'GtkCellRendererText' allows to edit its text using an entry.

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


     '_G_t_k_C_e_l_l_R_e_n_d_e_r_e_r_T_e_x_t' _undocumented _


_C_o_n_v_e_n_i_e_n_t _C_o_n_s_t_r_u_c_t_i_o_n:

     'gtkCellRendererText' is the equivalent of
     'gtkCellRendererTextNew'.

_S_i_g_n_a_l_s:


     '_e_d_i_t_e_d(_r_e_n_d_e_r_e_r, _p_a_t_h, _n_e_w._t_e_x_t, _u_s_e_r._d_a_t_a)' This signal is
          emitted after 'renderer' has been edited.

          It is the responsibility of the application to update the
          model and store 'new.text' at the position indicated by
          'path'.  

          '_r_e_n_d_e_r_e_r' ['GtkCellRendererText']  the object which received
               the signal

          '_p_a_t_h' [character]  the path identifying the edited cell

          '_n_e_w._t_e_x_t' [character]  the new text

          '_u_s_e_r._d_a_t_a' [R object] user data set when the signal handler
               was connected.


_P_r_o_p_e_r_t_i_e_s:


     '_a_l_i_g_n-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects the
          alignment mode.  Default value: FALSE


     '_a_l_i_g_n_m_e_n_t' ['_P_a_n_g_o_A_l_i_g_n_m_e_n_t' : _R_e_a_d / _W_r_i_t_e] Specifies how to
          align the lines of text with respect to each other. 

          Note that this property describes how to align the lines of
          text in  case there are several of them. The "xalign"
          property of 'GtkCellRenderer',  on the other hand, sets the
          horizontal alignment of the whole text.  

          Default value: PANGO_ALIGN_LEFT  Since  2.10


     '_a_t_t_r_i_b_u_t_e_s' ['_P_a_n_g_o_A_t_t_r_L_i_s_t' : _R_e_a_d / _W_r_i_t_e] A list of style
          attributes to apply to the text of the renderer.


     '_b_a_c_k_g_r_o_u_n_d' [_c_h_a_r_a_c_t_e_r : _W_r_i_t_e] Background color as a string. 
          Default value: NULL


     '_b_a_c_k_g_r_o_u_n_d-_g_d_k' ['_G_d_k_C_o_l_o_r' : _R_e_a_d / _W_r_i_t_e] Background color as a
          GdkColor.


     '_b_a_c_k_g_r_o_u_n_d-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          the background color.  Default value: FALSE


     '_e_d_i_t_a_b_l_e' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether the text can be
          modified by the user.  Default value: FALSE


     '_e_d_i_t_a_b_l_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          text editability.  Default value: FALSE


     '_e_l_l_i_p_s_i_z_e' ['_P_a_n_g_o_E_l_l_i_p_s_i_z_e_M_o_d_e' : _R_e_a_d / _W_r_i_t_e] Specifies the
          preferred place to ellipsize the string, if the cell renderer
           does not have enough room to display the entire string.
          Setting it to  'PANGO_ELLIPSIZE_NONE' turns off ellipsizing.
          See the wrap-width property for another way of making the
          text fit into a given width.  

          Default value: PANGO_ELLIPSIZE_NONE  Since  2.6


     '_e_l_l_i_p_s_i_z_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          the ellipsize mode.  Default value: FALSE


     '_f_a_m_i_l_y' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] Name of the font family, e.g.
          Sans, Helvetica, Times, Monospace.  Default value: NULL


     '_f_a_m_i_l_y-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects the
          font family.  Default value: FALSE


     '_f_o_n_t' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] Font description as a string,
          e.g. "Sans Italic 12".  Default value: NULL


     '_f_o_n_t-_d_e_s_c' ['_P_a_n_g_o_F_o_n_t_D_e_s_c_r_i_p_t_i_o_n' : _R_e_a_d / _W_r_i_t_e] Font
          description as a PangoFontDescription struct.


     '_f_o_r_e_g_r_o_u_n_d' [_c_h_a_r_a_c_t_e_r : _W_r_i_t_e] Foreground color as a string. 
          Default value: NULL


     '_f_o_r_e_g_r_o_u_n_d-_g_d_k' ['_G_d_k_C_o_l_o_r' : _R_e_a_d / _W_r_i_t_e] Foreground color as a
          GdkColor.


     '_f_o_r_e_g_r_o_u_n_d-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          the foreground color.  Default value: FALSE


     '_l_a_n_g_u_a_g_e' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] The language this text is
          in, as an ISO code. Pango can use this as a hint when
          rendering the text. If you don't understand this parameter,
          you probably don't need it.  Default value: NULL


     '_l_a_n_g_u_a_g_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          the language the text is rendered as.  Default value: FALSE


     '_m_a_r_k_u_p' [_c_h_a_r_a_c_t_e_r : _W_r_i_t_e] Marked up text to render.  Default
          value: NULL


     '_r_i_s_e' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] Offset of text above the baseline
          (below the baseline if rise is negative).  Allowed values: >=
          -2147483647  Default value: 0


     '_r_i_s_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects the
          rise.  Default value: FALSE


     '_s_c_a_l_e' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Font scaling factor.  Allowed
          values: >= 0  Default value: 1


     '_s_c_a_l_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag scales the
          font size by a factor.  Default value: FALSE


     '_s_i_n_g_l_e-_p_a_r_a_g_r_a_p_h-_m_o_d_e' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether or not to
          keep all text in a single paragraph.  Default value: FALSE


     '_s_i_z_e' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] Font size.  Allowed values: >= 0 
          Default value: 0


     '_s_i_z_e-_p_o_i_n_t_s' [_n_u_m_e_r_i_c : _R_e_a_d / _W_r_i_t_e] Font size in points. 
          Allowed values: >= 0  Default value: 0


     '_s_i_z_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects the
          font size.  Default value: FALSE


     '_s_t_r_e_t_c_h' ['_P_a_n_g_o_S_t_r_e_t_c_h' : _R_e_a_d / _W_r_i_t_e] Font stretch.  Default
          value: PANGO_STRETCH_NORMAL


     '_s_t_r_e_t_c_h-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          the font stretch.  Default value: FALSE


     '_s_t_r_i_k_e_t_h_r_o_u_g_h' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether to strike through
          the text.  Default value: FALSE


     '_s_t_r_i_k_e_t_h_r_o_u_g_h-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag
          affects strikethrough.  Default value: FALSE


     '_s_t_y_l_e' ['_P_a_n_g_o_S_t_y_l_e' : _R_e_a_d / _W_r_i_t_e] Font style.  Default value:
          PANGO_STYLE_NORMAL


     '_s_t_y_l_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects the
          font style.  Default value: FALSE


     '_t_e_x_t' [_c_h_a_r_a_c_t_e_r : _R_e_a_d / _W_r_i_t_e] Text to render.  Default value:
          NULL


     '_u_n_d_e_r_l_i_n_e' ['_P_a_n_g_o_U_n_d_e_r_l_i_n_e' : _R_e_a_d / _W_r_i_t_e] Style of underline
          for this text.  Default value: PANGO_UNDERLINE_NONE


     '_u_n_d_e_r_l_i_n_e-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          underlining.  Default value: FALSE


     '_v_a_r_i_a_n_t' ['_P_a_n_g_o_V_a_r_i_a_n_t' : _R_e_a_d / _W_r_i_t_e] Font variant.  Default
          value: PANGO_VARIANT_NORMAL


     '_v_a_r_i_a_n_t-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects
          the font variant.  Default value: FALSE


     '_w_e_i_g_h_t' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] Font weight.  Allowed values: >=
          0  Default value: 400


     '_w_e_i_g_h_t-_s_e_t' [_l_o_g_i_c_a_l : _R_e_a_d / _W_r_i_t_e] Whether this tag affects the
          font weight.  Default value: FALSE


     '_w_i_d_t_h-_c_h_a_r_s' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] The desired width of the
          cell, in characters. If this property is set to -1, the width
          will be calculated automatically, otherwise the cell will
          request either 3 characters or the property value, whichever
          is greater.  

          Allowed values: >= -1  Default value: -1  Since  2.6


     '_w_r_a_p-_m_o_d_e' ['_P_a_n_g_o_W_r_a_p_M_o_d_e' : _R_e_a_d / _W_r_i_t_e] Specifies how to
          break the string into multiple lines, if the cell  renderer
          does not have enough room to display the entire string.  This
          property has no effect unless the wrap-width property is set.            

          Default value: PANGO_WRAP_CHAR  Since  2.8


     '_w_r_a_p-_w_i_d_t_h' [_i_n_t_e_g_e_r : _R_e_a_d / _W_r_i_t_e] Specifies the width at which
          the text is wrapped. The wrap-mode property can  be used to
          influence at what character positions the line breaks can be
          placed. Setting wrap-width to -1 turns wrapping off.  

          Allowed values: >= -1  Default value: -1  Since  2.8


_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/GtkCellRendererText.html>

