gtkEntrySetPosition: gtkEntrySetPosition

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R


Sets the cursor position in an entry to the given value. WARNING: gtk_entry_set_position has been deprecated since version 2.0 and should not be used in newly-written code. Use gtkEditableSetPosition instead.


gtkEntrySetPosition(object, position)



a GtkEntry


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.


Derived by RGtkGen from GTK+ documentation

RGtk2 documentation built on May 30, 2017, 5:53 a.m.

Search within the RGtk2 package
Search all R packages, documentation and source code