Tag

A tag that can be applied to text in a class@Buffer.

gtksource.tag.Tag is a subclass of gtk.text_tag.TextTag that adds properties useful for the GtkSourceView library.

If, for a certain tag, gtk.text_tag.TextTag is sufficient, it's better that you create a gtk.text_tag.TextTag, not a class@Tag.

Constructors

this
this(string name)

Creates a gtksource.tag.Tag.

Inherited Members

From TextTag

changed
void changed(bool sizeChanged)

Emits the signalGtk.TextTagTable::tag-changed signal on the gtk.text_tag_table.TextTagTable where the tag is included.

getPriority
int getPriority()

Get the tag priority.

setPriority
void setPriority(int priority)

Sets the priority of a gtk.text_tag.TextTag.