Package: gtk

Accessor gtk:text-buffer-text

Lambda List

gtk:text-buffer-text (object)

Syntax

(gtk:text-buffer-text object) => text
(setf (gtk:text-buffer-text object) text)

Arguments

object -- a gtk:text-buffer object
text -- a string for the UTF-8 text

Details

The accessor for the text slot of the gtk:text-buffer class gets or sets the text of the text buffer, without child widgets and images. The text must be valid UTF-8.

Notes

Use the gtk:text-buffer-get-text function to retrieve a range of text from the text buffer and the gtk:text-buffer-get-slice function to include widgets and images.
 

See also

2025-09-28