Method

Gtk.TextBuffer.apply_tag_by_name

Declaration [src]

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

Description [src]

Emits the “apply-tag” signal on buffer.

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 char*
 

name of a named GtkTextTag

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

one bound of range to be tagged

 Ownership is not transferred to the callee
end GtkTextIter
 

other bound of range to be tagged

 Ownership is not transferred to the callee