gtksource.tag

Module for Tag class

Types 3

A tag that can be applied to text in a gtksource.buffer.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 gtksource.tag.Tag.

Methods
GType _gType() @property
Tag self()Returns `this`, for use in `with` statements.
TagGidBuilder builder()Get builder for [gtksource.tag.Tag] Returns: New builder object
bool drawSpaces() @propertyGet `drawSpaces` property. Returns: Whether to draw white spaces.
void drawSpaces(bool propval) @propertySet `drawSpaces` property. Params: propval = Whether to draw white spaces.
bool drawSpacesSet() @propertyGet `drawSpacesSet` property. Returns: Whether the [gtksource.tag.Tag.drawSpaces] property is set and must be taken into account.
void drawSpacesSet(bool propval) @propertySet `drawSpacesSet` property. Params: propval = Whether the [gtksource.tag.Tag.drawSpaces] property is set and must be taken into account.
Constructors
this(void * ptr, Flag!"Take" take)
this(string name = null)Creates a [gtksource.tag.Tag].

Fluent builder implementation template for gtksource.tag.Tag

Methods
T drawSpaces(bool propval)Set `drawSpaces` property. Params: propval = Whether to draw white spaces.
T drawSpacesSet(bool propval)Set `drawSpacesSet` property. Params: propval = Whether the [gtksource.tag.Tag.drawSpaces] property is set and must be taken into account. Returns: Builder instance for fluent chaining

Fluent builder for gtksource.tag.Tag

Methods
Tag build()Create object from builder. Returns: New object