Gtk.TextBuffer.InsertPixbuf Method
Inserts an image into the text buffer at iter.

Syntax

public void InsertPixbuf (ref TextIter iter, Gdk.Pixbuf pixbuf)

Parameters

iter
The location to insert the image
pixbuf
The image to be inserted

Remarks

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 buffer as a string include this character for pixbufs, but the "text" variants do not. e.g. see TextBuffer.GetSlice(TextIter, TextIter, bool) and TextBuffer.GetText(TextIter, TextIter, bool).

Requirements

Namespace: Gtk
Assembly: gtk-sharp (in gtk-sharp.dll)
Since: Gtk# 2.4