gtksource.style

Module for [Style] class

Types 3

Methods
GType _gType() @property
Style self()Returns `this`, for use in `with` statements.
StyleGidBuilder builder()Get builder for [gtksource.style.Style] Returns: New builder object
string background() @property
bool backgroundSet() @property
bool bold() @property
bool boldSet() @property
string foreground() @property
bool foregroundSet() @property
bool italic() @property
bool italicSet() @property
string lineBackground() @property
bool lineBackgroundSet() @property
string scale() @property
bool scaleSet() @property
bool strikethrough() @property
bool strikethroughSet() @property
string underlineColor() @property
bool underlineColorSet() @property
bool underlineSet() @property
void apply(gtk.text_tag.TextTag tag)This function modifies the #GtkTextTag properties that are related to the #GtkSourceStyle properties. Other #GtkTextTag properties are left untouched.
gtksource.style.Style copy()Creates a copy of style, that is a new #GtkSourceStyle instance which has the same attributes set. Returns: copy of style, call [gobject.object.ObjectWrap.unref] when you are done with it.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T background(string propval)
T backgroundSet(bool propval)
T bold(bool propval)
T boldSet(bool propval)
T foreground(string propval)
T foregroundSet(bool propval)
T italic(bool propval)
T italicSet(bool propval)
T lineBackground(string propval)
T lineBackgroundSet(bool propval)
T scale(string propval)
T scaleSet(bool propval)
T strikethrough(bool propval)
T strikethroughSet(bool propval)
T underlineColor(string propval)
T underlineColorSet(bool propval)
T underlineSet(bool propval)

Fluent builder for [gtksource.style.Style]

Methods