Class

GtkSourceTag

Description

class GtkSource.Tag : Gtk.TextTag {
  parent_instance: GtkTextTag
}

A tag that can be applied to text in a GtkSourceBuffer.

GtkSourceTag is a subclass of GtkTextTag that adds properties useful for the GtkSourceView library.

If, for a certain tag, GtkTextTag is sufficient, it’s better that you create a GtkTextTag, not a GtkSourceTag.

Ancestors

  • GtkTextTag
  • GObject

Constructors

gtk_source_tag_new

Creates a GtkSourceTag.

Properties

GtkSource.Tag:draw-spaces

Whether to draw white spaces.

GtkSource.Tag:draw-spaces-set

Whether the GtkSourceTag:draw-spaces property is set and must be taken into account.

Class structure

struct GtkSourceTagClass {
  GtkTextTagClass parent_class;
  
}
Class members
parent_class
GtkTextTagClass
  No description available.