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 with the UTF-8 text

Details

Accessor of the text slot of the gtk-text-buffer class.

The gtk-text-buffer function retrieves the text of the text buffer, without child widgets and images. The (setf gtk-text-buffer-text) function deletes current contents of the text buffer, and inserts text instead. The text must be valid UTF-8.

Note

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

*2021-11-16