gtkEditableGetPosition {RGtk2}R Documentation

gtkEditableGetPosition

Description

Retrieves the current cursor position.

Usage

gtkEditableGetPosition(object)

Arguments

object [GtkEditable] a GtkEditable widget.

Value

[integer] the position of the cursor. The cursor is displayed before the character with the given (base 0) index in the widget. The value will be less than or equal to the number of characters in the widget. Note that this position is in characters, not in bytes.

Author(s)

Derived by RGtkGen from GTK+ documentation


[Package RGtk2 version 2.12.5-3 Index]