gtksource.style_scheme
Module for [StyleScheme] class
Types 3
Controls the appearance of gtksource.view.View.
#GtkSourceStyleScheme contains all the text styles to be used in gtksource.view.View and gtksource.buffer.Buffer. For instance, it contains text styles for syntax highlighting, it may contain foreground and background color for non-highlighted text, color for the line numbers, current line highlighting, bracket matching, etc.
Style schemes are stored in XML files. The format of a scheme file is documented in the style scheme reference.
The two style schemes with IDs "classic" and "tango" follow more closely the GTK theme (for example for the background color).
StyleSchemeGidBuilder builder() static nothrowGet builder for [gtksource.style_scheme.StyleScheme] Returns: New builder objectstring description() @property nothrowGet `description` property. Returns: Style scheme description, a translatable string to present to the user.string id() @property nothrowGet `id` property. Returns: Style scheme id, a unique string used to identify the style scheme in [gtksource.style_scheme_manager.StyleSchemeManager].string name() @property nothrowGet `name` property. Returns: Style scheme name, a translatable string to present to the user.string[] getAuthors() nothrowstring getDescription() nothrowstring getFilename() nothrowstring getId() nothrowstring getName() nothrowgtksource.style.Style getStyle(string styleId) nothrowFluent builder implementation template for gtksource.style_scheme.StyleScheme
T id(string propval) nothrowSet `id` property. Params: propval = Style scheme id, a unique string used to identify the style scheme in [gtksource.style_scheme_manager.StyleSchemeManager]. Returns: Builder instance for fluent ...Fluent builder for gtksource.style_scheme.StyleScheme