Method

GtkTextBufferapply_tag_by_name

Declaration [src]

void
gtk_text_buffer_apply_tag_by_name (
  GtkTextBuffer* buffer,
  const gchar* name,
  const GtkTextIter* start,
  const GtkTextIter* end
)

Description [src]

Calls gtk_text_tag_table_lookup() on the buffer’s tag table to get a GtkTextTag, then calls gtk_text_buffer_apply_tag().

Parameters

name const gchar*
 

Name of a named GtkTextTag.

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

One bound of range to be tagged.

 The data is owned by the caller of the function.
end GtkTextIter
 

Other bound of range to be tagged.

 The data is owned by the caller of the function.