gtksource.style

Module for [Style] class

Types 3

Methods
GType _getGType() static nothrow
GType _gType() @property nothrow
Style self() nothrowReturns `this`, for use in `with` statements.
StyleGidBuilder builder() static nothrowGet builder for [gtksource.style.Style] Returns: New builder object
string background() @property nothrow
bool backgroundSet() @property nothrow
bool bold() @property nothrow
bool boldSet() @property nothrow
string foreground() @property nothrow
bool foregroundSet() @property nothrow
bool italic() @property nothrow
bool italicSet() @property nothrow
string lineBackground() @property nothrow
bool lineBackgroundSet() @property nothrow
string scale() @property nothrow
bool scaleSet() @property nothrow
bool strikethrough() @property nothrow
bool strikethroughSet() @property nothrow
string underlineColor() @property nothrow
bool underlineColorSet() @property nothrow
bool underlineSet() @property nothrow
void apply(gtk.text_tag.TextTag tag) nothrowThis function modifies the #GtkTextTag properties that are related to the #GtkSourceStyle properties. Other #GtkTextTag properties are left untouched.
gtksource.style.Style copy() nothrowCreates 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)

Fluent builder implementation template for gtksource.style.Style

Methods
T background(string propval) nothrow
T backgroundSet(bool propval) nothrow
T bold(bool propval) nothrow
T boldSet(bool propval) nothrow
T foreground(string propval) nothrow
T foregroundSet(bool propval) nothrow
T italic(bool propval) nothrow
T italicSet(bool propval) nothrow
T lineBackground(string propval) nothrow
T lineBackgroundSet(bool propval) nothrow
T scale(string propval) nothrow
T scaleSet(bool propval) nothrow
T strikethrough(bool propval) nothrow
T strikethroughSet(bool propval) nothrow
T underlineColor(string propval) nothrow
T underlineColorSet(bool propval) nothrow
T underlineSet(bool propval) nothrow

Fluent builder for gtksource.style.Style

Methods
Style build() nothrowCreate object from builder. Returns: New object