TextBuffer.insertMarkup
void insertMarkup(gtk.text_iter.TextIter iter, string markup)Inserts the text in markup at position iter. markup will be inserted in its entirety and must be nul-terminated and valid UTF-8. Emits the #GtkTextBuffer::insert-text signal, possibly multiple times; insertion actually occurs in the default handler for the signal. iter will point to the end of the inserted text on return.
Parameters
iter | location to insert the markup |
markup | a nul-terminated UTF-8 string containing [Pango markup][PangoMarkupFormat] |