gtkIMContextSetSurrounding       package:RGtk2       R Documentation

_g_t_k_I_M_C_o_n_t_e_x_t_S_e_t_S_u_r_r_o_u_n_d_i_n_g

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

     Sets surrounding context around the insertion point and preedit
     string. This function is expected to be called in response to the
     GtkIMContext::retrieve_surrounding signal, and will likely have no
     effect if called at other times.

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

     gtkIMContextSetSurrounding(object, text, cursor.index)

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

'object': ['GtkIMContext']  a 'GtkIMContext' 

  'text': [character]  text surrounding the insertion point, as UTF-8.
          the preedit string should not be included within 'text'.

'cursor.index': [integer]  the byte index of the insertion cursor
          within 'text'.

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

     Derived by RGtkGen from GTK+ documentation

