Method

Gtk.TextBuffer.insert_with_tags_by_name

Declaration [src]

void
gtk_text_buffer_insert_with_tags_by_name (
  GtkTextBuffer* buffer,
  GtkTextIter* iter,
  const char* text,
  int len,
  const char* first_tag_name,
  ...
)

Description [src]

Inserts text into buffer at iter, applying the list of tags to the newly-inserted text.

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

Parameters

iter GtkTextIter
 

position in buffer

 Ownership is not transferred to the callee
text const char*
 

UTF-8 text

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

length of text, or -1

first_tag_name const char*
 

name of a tag to apply to text

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

more tag names