gtkEntrySetPosition: gtkEntrySetPosition

Description Usage Arguments Author(s)

View source: R/gtkFuncs.R

Description

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.

Usage

1
gtkEntrySetPosition(object, position)

Arguments

object

a GtkEntry

position

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.

Author(s)

Derived by RGtkGen from GTK+ documentation


RGtk2 documentation built on Oct. 14, 2021, 5:08 p.m.