Method

GtkEditableget_position

Declaration [src]

gint
gtk_editable_get_position (
  GtkEditable* editable
)

Description [src]

Retrieves the current position of the cursor relative to the start of the content of the editable.

Note that this position is in characters, not in bytes.

Return value

Type: gint

The cursor position.