pangoLayoutSetText           package:RGtk2           R Documentation

_p_a_n_g_o_L_a_y_o_u_t_S_e_t_T_e_x_t

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

     Sets the text of the layout.

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

     pangoLayoutSetText(object, text, length = -1)

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

'object': ['PangoLayout']  a 'PangoLayout'

  'text': [char]  a valid UTF-8 string

'length': [integer]  maximum length of 'text', in bytes. -1 indicates
          that the string is and the length should be calculated.  The
          text will also be truncated on encountering a nul-termination
          even when 'length' is positive.

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

     Note that if you have used 'pangoLayoutSetMarkup' or
     'pangoLayoutSetMarkupWithAccel' on 'layout' before, you may want
     to call 'pangoLayoutSetAttributes' to clear the attributes set on
     the layout from the markup as this function does not clear
     attributes.

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

     Derived by RGtkGen from GTK+ documentation

