gtksource.tag
Module for [Tag] class
Types 3
classTag : gtk.text_tag.TextTag
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
TagGidBuilder builder() static nothrowGet builder for [gtksource.tag.Tag] Returns: New builder objectbool drawSpaces() @property nothrowGet `drawSpaces` property. Returns: Whether to draw white spaces.void drawSpaces(bool propval) @property nothrowSet `drawSpaces` property. Params: propval = Whether to draw white spaces.bool drawSpacesSet() @property nothrowGet `drawSpacesSet` property. Returns: Whether the [gtksource.tag.Tag.drawSpaces] property is set and must be taken into account.void drawSpacesSet(bool propval) @property nothrowSet `drawSpacesSet` property. Params: propval = Whether the [gtksource.tag.Tag.drawSpaces] property is set and must be taken into account.classTagGidBuilderImpl(T) : gtk.text_tag.TextTagGidBuilderImpl!T
Fluent builder implementation template for gtksource.tag.Tag
Methods
T drawSpaces(bool propval) nothrowSet `drawSpaces` property. Params: propval = Whether to draw white spaces.T drawSpacesSet(bool propval) nothrowSet `drawSpacesSet` property. Params: propval = Whether the [gtksource.tag.Tag.drawSpaces] property is set and must be taken into account. Returns: Builder instance for fluent chainingFluent builder for gtksource.tag.Tag