Top | ![]() |
![]() |
![]() |
![]() |
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.
GtkTextTag *
gtk_source_tag_new (const gchar *name
);
Creates a GtkSourceTag. Configure the tag using object arguments,
i.e. using g_object_set()
.
For usual cases, gtk_source_buffer_create_source_tag()
is more convenient to
use.
Since: 3.20
“draw-spaces”
property“draw-spaces” gboolean
Whether to draw spaces. This property takes precedence over the value defined by the GtkSourceView's “draw-spaces” property (only where the tag is applied).
Setting this property also changes “draw-spaces-set” to
TRUE
.
Flags: Read / Write
Default value: FALSE
Since: 3.20
“draw-spaces-set”
property“draw-spaces-set” gboolean
Whether the “draw-spaces” property is set and must be taken into account.
Flags: Read / Write
Default value: FALSE
Since: 3.20