gtksource.style
Module for [Style] class
Types 3
classStyle : gobject.object.ObjectWrap
Methods
StyleGidBuilder builder() static nothrowGet builder for [gtksource.style.Style] Returns: New builder objectvoid 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.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) nothrowFluent builder for gtksource.style.Style