Package: gtk

GBoxed gtk-text-iter

Superclasses

common-lisp:standard-object, common-lisp:t

Documented Subclasses

None

Direct Slots

None

Details

Most text manipulation is accomplished with iterators, represented by a gtk-text-iter instance. An iterator represents a position between two characters in the text buffer.

The gtk-text-iter structure is designed to be allocated on the stack. It is guaranteed to be copiable by value and never contain any heap-allocated data. Iterators are not valid indefinitely. Whenever the text buffer is modified in a way that affects the number of characters in the text buffer, all outstanding iterators become invalid. Note that deleting 5 characters and then reinserting 5 still invalidates iterators, though you end up with the same number of characters you pass through a state with a different number.
 

See also

2021-6-13