Method

TalkatuBufferinsert_markup_with_tags_by_name

Declaration [src]

void
talkatu_buffer_insert_markup_with_tags_by_name (
  TalkatuBuffer* buffer,
  GtkTextIter* pos,
  const gchar* new_text,
  gint new_text_length,
  const gchar* first_tag_name,
  ...
)

Description [src]

Similar to #talkatu_buffer_insert_markup but allows you to specify tags to apply to the newly inserted text.

This method is not directly available to language bindings.

Parameters

pos

Type: GtkTextIter

The GtkTextIter where the text should be inserted.

The data is owned by the caller of the function.
new_text

Type: const gchar*

UTF-8 text.

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

Type: gint

The len of new_text, or -1.

first_tag_name

Type: const gchar*

The name of the first tag to apply to new_text.

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

Type: 

Additional tags to apply to new_text.