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.

Parameters

pos GtkTextIter
 

The GtkTextIter where the text should be inserted.

 The data is owned by the caller of the function.
new_text 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 gint
 

The len of new_text, or -1.

first_tag_name 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.
...
 

Additional tags to apply to new_text.