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()Get builder for [gtksource.tag.Tag] Returns: New builder objectvoid 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.classTagGidBuilderImpl(T) : gtk.text_tag.TextTagGidBuilderImpl!T
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 chainingFluent builder for gtksource.tag.Tag