Package: gtk

Function gtk:text-buffer-insert-pixbuf

Lambda List

gtk:text-buffer-insert-pixbuf (buffer iter pixbuf)

Arguments

buffer -- a gtk:text-buffer object
iter -- a gtk:text-iter location to insert the pixbuf
pixbuf -- a gdk-pixbuf:pixbuf object

Details

Inserts an image into the text buffer at iter. The image will be counted as one character in character counts, and when obtaining the buffer contents as a string, will be represented by the Unicode "object replacement character" 0xFFFC. Note that the "slice" variants for obtaining portions of the text buffer as a string include this character for pixbufs, but the "text" variants do not, e.g. see the gtk:text-buffer-get-slice and gtk:text-buffer-get-text functions.
 

See also

#2023-3-12