Method

Gtk.TextBuffer.insert_markup

Declaration [src]

void
gtk_text_buffer_insert_markup (
  GtkTextBuffer* buffer,
  GtkTextIter* iter,
  const char* markup,
  int len
)

Description [src]

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 GtkTextIter
 

location to insert the markup

 Ownership is not transferred to the callee
markup const char*
 

a nul-terminated UTF-8 string containing Pango markup

 Ownership is not transferred to the callee
 The string is a NUL terminated UTF-8 string
len int
 

length of markup in bytes, or -1