Method

GtkTextBufferinsert_with_tags_by_name

Declaration [src]

void
gtk_text_buffer_insert_with_tags_by_name (
  GtkTextBuffer* buffer,
  GtkTextIter* iter,
  const gchar* text,
  gint len,
  const gchar* first_tag_name,
  ...
)

Description [src]

Same as gtk_text_buffer_insert_with_tags(), but allows you to pass in tag names instead of tag objects.

This method is not directly available to language bindings.

Parameters

iter GtkTextIter
 

Position in buffer.

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

Length of text, or -1

first_tag_name const gchar*
 

Name of a tag to apply to text.

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

More tag names.