atkTextGetSelection          package:RGtk2          R Documentation

_a_t_k_T_e_x_t_G_e_t_S_e_l_e_c_t_i_o_n

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

     Gets the text from the specified selection.

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

     atkTextGetSelection(object, selection.num)

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

'object': ['AtkText']  an 'AtkText'

'selection.num': [integer]  The selection number.  The selected regions
          are assigned numbers that correspond to how far the region is
          from the start of the text.  The selected region closest to
          the beginning of the text region is assigned the number 0,
          etc.  Note that adding, moving or deleting a selected region
          can change the numbering.

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

     A list containing the following elements: 

  retval: [character]  the selected text.

'start.offset': [integer]  passes back the start position of the
          selected region

'end.offset': [integer]  passes back the end position of (e.g. offset
          immediately past)  the selected region

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

     Derived by RGtkGen from GTK+ documentation

