Package: gtk

Function gtk-text-buffer-get-text

Lambda List

gtk-text-buffer-get-text (buffer start end &optional include)

Arguments

buffer -- a gtk-text-buffer object
start -- a gtk-text-iter start iterator of a range
end -- a gtk-text-iter end iterator of a range
include -- a boolean whether to include invisible text

Return Value

An allocated UTF-8 string.

Details

Returns the text in the range [start, end). Excludes undisplayed text, text marked with tags that set the invisibility attribute, if the include argument is false. Does not include characters representing embedded images, so byte and character indexes into the returned string do not correspond to byte and character indexes into the text buffer. Contrast with the gtk-text-buffer-get-slice function.
 

See also

*2021-11-16