Method

GtkTextBufferinsert_markup

Declaration [src]

void
gtk_text_buffer_insert_markup (
  GtkTextBuffer* buffer,
  GtkTextIter* iter,
  const gchar* markup,
  gint 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.

Available since:3.16

Parameters

iter GtkTextIter
 

Location to insert the markup.

 The data is owned by the caller of the function.
markup const gchar*
 

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

 The data is owned by the caller of the function.
 The value is a NUL terminated UTF-8 string.
len gint
 

Length of markup in bytes, or -1