gtkEntrySetPosition          package:RGtk2          R Documentation

_g_t_k_E_n_t_r_y_S_e_t_P_o_s_i_t_i_o_n

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

     Sets the cursor position in an entry to the given  value. This
     function is obsolete. You should use 'gtkEditableSetPosition'
     instead. *WARNING: 'gtk_entry_set_position' is deprecated and
     should not be used in newly-written code.*

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

     gtkEntrySetPosition(object, position)

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

'object': ['GtkEntry'] a 'GtkEntry'.

'position': [integer] the position of the cursor. The cursor is
          displayed before the character with the given (base 0) index
          in the widget. The value must be less than or equal to the
          number of characters in the widget. A value of -1 indicates
          that the position should be set after the last character in
          the entry. Note that this position is in characters, not in
          bytes.

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

     Derived by RGtkGen from GTK+ documentation

