Package: gtk

Accessor gtk:text-buffer-cursor-position

Lambda List

gtk:text-buffer-cursor-position (object)

Syntax

(gtk:text-buffer-cursor-position object) => position

Arguments

object -- a gtk:text-buffer object
position -- an integer for the position of the insert mark

Details

The accessor for the cursor-position slot of the gtk:text-buffer class returns the position of the insert mark, as offset from the beginning of the text buffer. It is useful for getting notified when the cursor moves.
 

See also

2025-09-28