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(void* ptr, Flag!"Take" take)
this
this(string name)

Creates a gtksource.tag.Tag.

Members

Functions

self
Tag self()

Returns this, for use in with statements.

Properties

gType
GType gType [@property getter]

Static functions

getGType
GType getGType()

Inherited Members

From TextTag

getGType
GType getGType()
gType
GType gType [@property getter]
self
TextTag self()

Returns this, for use in with statements.

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.