gtksource.style
Module for [Style] class
Types 3
classStyle : gobject.object.ObjectWrap
Methods
StyleGidBuilder builder()Get builder for [gtksource.style.Style] Returns: New builder objectstring background() @propertybool backgroundSet() @propertybool bold() @propertybool boldSet() @propertystring foreground() @propertybool foregroundSet() @propertybool italic() @propertybool italicSet() @propertystring lineBackground() @propertybool lineBackgroundSet() @propertypango.types.Underline pangoUnderline() @propertystring scale() @propertybool scaleSet() @propertybool strikethrough() @propertybool strikethroughSet() @propertystring underlineColor() @propertybool underlineColorSet() @propertybool underlineSet() @propertyvoid 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.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 pangoUnderline(pango.types.Underline 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)