TextBuffer.insertMarkup

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.

class TextBuffer
void
insertMarkup
(,
string markup
,
int len
)

Parameters

iter TextIter

location to insert the markup

markup string

a nul-terminated UTF-8 string containing [Pango markup]PangoMarkupFormat

len int

length of @markup in bytes, or -1

Meta

Since

3.16