gtkEditableSetPosition: gtkEditableSetPosition

Description Usage Arguments Details Author(s)

View source: R/gtkFuncs.R

Description

Sets the cursor position in the editable to the given value.

Usage

1
gtkEditableSetPosition(object, position)

Arguments

object

a GtkEditable

position

the position of the cursor

Details

The cursor is displayed before the character with the given (base 0) index in the contents of the editable. The value must be less than or equal to the number of characters in the editable. A value of -1 indicates that the position should be set after the last character of the editable. Note that 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.