The property can be set to change the current selection programmatically.
gtksource.style_scheme_chooser_mixin
Module for StyleSchemeChooser interface mixin
Templates 2
tmplStyleSchemeChooserT()
Interface implemented by widgets for choosing style schemes.
gtksource.style_scheme_chooser.StyleSchemeChooser is an interface that is implemented by widgets for choosing style schemes.
In GtkSourceView, the main widgets that implement this interface are gtksource.style_scheme_chooser_widget.StyleSchemeChooserWidget and gtksource.style_scheme_chooser_button.StyleSchemeChooserButton.
Functions
gtksource.style_scheme.StyleScheme styleScheme()
Get styleScheme property.
Returns
Contains the currently selected style scheme.
void styleScheme(gtksource.style_scheme.StyleScheme propval)
Set styleScheme property.
Parameters
propval | Contains the currently selected style scheme. The property can be set to change the current selection programmatically. |
gtksource.style_scheme.StyleScheme getStyleScheme()
Gets the currently-selected scheme.
Returns
the currently-selected scheme.
void setStyleScheme(gtksource.style_scheme.StyleScheme scheme)
Sets the scheme.
Parameters
scheme | a #GtkSourceStyleScheme |
tmplStyleSchemeChooserGidBuilderT()
Fluent builder implementation template for gtksource.style_scheme_chooser.StyleSchemeChooser
Functions
T styleScheme(gtksource.style_scheme.StyleScheme propval)
Set styleScheme property.
Parameters
propval | Contains the currently selected style scheme. The property can be set to change the current selection programmatically. |
Returns
Builder instance for fluent chaining