gtksource.style
Module for [Style] class
Types 3
classStyle : gobject.object.ObjectWrap
Represents a style.
The gtksource.style.Style structure is used to describe text attributes which are set when given style is used.
Methods
StyleGidBuilder builder() static nothrowGet builder for [gtksource.style.Style] Returns: New builder objectvoid apply(gtk.text_tag.TextTag tag) nothrowThis function modifies the [gtk.text_tag.TextTag] properties that are related to the #GtkSourceStyle properties. Other [gtk.text_tag.TextTag] 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.Fluent builder implementation template for gtksource.style.Style
Methods
T background(string propval) nothrowT backgroundSet(bool propval) nothrowT bold(bool propval) nothrowT boldSet(bool propval) nothrowT foreground(string propval) nothrowT foregroundSet(bool propval) nothrowT italic(bool propval) nothrowT italicSet(bool propval) nothrowT lineBackground(string propval) nothrowT lineBackgroundSet(bool propval) nothrowT pangoUnderline(pango.types.Underline propval) nothrowT scale(string propval) nothrowT scaleSet(bool propval) nothrowT strikethrough(bool propval) nothrowT strikethroughSet(bool propval) nothrowT underlineColor(string propval) nothrowT underlineColorSet(bool propval) nothrowT underlineSet(bool propval) nothrowT weight(pango.types.Weight propval) nothrowT weightSet(bool propval) nothrowFluent builder for gtksource.style.Style