gtkIMContextDeleteSurrounding     package:RGtk2     R Documentation

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

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

     Asks the widget that the input context is attached to to delete
     characters around the cursor position by emitting the
     GtkIMContext::delete_surrounding signal. Note that 'offset' and
     'n.chars' are in characters not in bytes which differs from the
     usage other places in 'GtkIMContext'.

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

     gtkIMContextDeleteSurrounding(object, offset, n.chars)

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

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

'offset': [integer]  offset from cursor position in chars; a negative
          value means start before the cursor.

'n.chars': [integer]  number of characters to delete.

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

     In order to use this function, you should first call
     'gtkIMContextGetSurrounding' to get the current context, and call
     this function immediately afterwards to make sure that you know
     what you are deleting. You should also account for the fact that
     even if the signal was handled, the input context might not have
     deleted all the characters that were requested to be deleted.

     This function is used by an input method that wants to make
     subsitutions in the existing text in response to new input. It is
     not useful for applications.

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

     [logical] 'TRUE' if the signal was handled.

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

     Derived by RGtkGen from GTK+ documentation

