GtkSource.Style¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class GtkSource.Style(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- apply(tag)¶
- Parameters:
tag (
Gtk.TextTag
) – aGtk.TextTag
to apply styles to.
This function modifies the
Gtk.TextTag
properties that are related to theGtkSource.Style
attributes. OtherGtk.TextTag
properties are left untouched.If self is non-
None
, applies self to tag.If self is
None
, the related *-set properties ofGtk.TextTag
are set toFalse
.New in version 3.22.
- copy()¶
- Returns:
copy of self, call
GObject.Object.unref
() when you are done with it.- Return type:
Creates a copy of self, that is a new
GtkSource.Style
instance which has the same attributes set.New in version 2.0.