Style
Superclasses: Object
Represents a style.
The GtkSourceStyle
structure is used to describe text attributes
which are set when given style is used.
Methods
- class Style
- apply(tag: TextTag) None
This function modifies the
TextTag
properties that are related to theStyle
properties. OtherTextTag
properties are left untouched.If
style
is non-None
, appliesstyle
totag
.If
style
isNone
, the related *-set properties ofTextTag
are set toFalse
.- Parameters:
tag – a
TextTag
to apply styles to.
Properties
- class Style