gtkTextViewGetIterAtPosition      package:RGtk2      R Documentation

_g_t_k_T_e_x_t_V_i_e_w_G_e_t_I_t_e_r_A_t_P_o_s_i_t_i_o_n

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

     Retrieves the iterator pointing to the character at buffer 
     coordinates 'x' and 'y'. Buffer coordinates are coordinates for 
     the entire buffer, not just the currently-displayed portion.   If
     you have coordinates from an event, you have to convert  those to
     buffer coordinates with  'gtkTextViewWindowToBufferCoords'.

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

     gtkTextViewGetIterAtPosition(object, x, y)

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

'object': ['GtkTextView']  a 'GtkTextView'

     'x': [integer]  x position, in buffer coordinates

     'y': [integer]  y position, in buffer coordinates

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

     Note that this is different from 'gtkTextViewGetIterAtLocation',
     which returns cursor locations, i.e. positions _between_
     characters.  

     Since  2.6

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

     A list containing the following elements: 

  'iter': ['GtkTextIter']  a 'GtkTextIter'

'trailing': [integer]  location to store an integer indicating where in
          the grapheme the user clicked. It will either be zero, or the
          number of characters in the grapheme.  0 represents the
          trailing edge of the grapheme.

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

     Derived by RGtkGen from GTK+ documentation

