Package: gtk

Accessor gtk:editable-cursor-position

Lambda List

gtk:editable-cursor-position (object)

Syntax

(gtk:editable-cursor-position object) => position

Arguments

object -- a gtk:editable widget
position -- an integer for the current cursor position

Details

The accessor for the cursor-position slot of the gtk:editable class returns the current position of the insertion cursor in chars.

Notes

The cursor-position slot is not writable. Use the gtk:editable-position function to set the cursor position.
 

See also

2025-09-13