gtksource.tag
Module for [Tag] class
Types 3
classTag : gtk.text_tag.TextTag
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.
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 `property@Tag:draw-spaces` property is set and must be taken into account.void drawSpacesSet(bool propval) @propertySet `drawSpacesSet` property. Params: propval = Whether the `property@Tag:draw-spaces` property is set and must be taken into account.classTagGidBuilderImpl(T) : gtk.text_tag.TextTagGidBuilderImpl!T
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 `property@Tag:draw-spaces` property is set and must be taken into account. Returns: Builder instance for fluent chaining