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
TextTagproperties that are related to theStyleproperties. OtherTextTagproperties are left untouched.If
styleis non-None, appliesstyletotag.If
styleisNone, the related *-set properties ofTextTagare set toFalse.- Parameters:
tag – a
TextTagto apply styles to.
Properties#
- class Style