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

Get styleScheme property.

Returns

Contains the currently selected style scheme.

The property can be set to change the current selection programmatically.

void styleScheme(gtksource.style_scheme.StyleScheme propval)

Set styleScheme property.

Parameters

propvalContains the currently selected style scheme. The property can be set to change the current selection programmatically.

Gets the currently-selected scheme.

Returns

the currently-selected scheme.
void setStyleScheme(gtksource.style_scheme.StyleScheme scheme)

Sets the scheme.

Parameters

schemea #GtkSourceStyleScheme
tmplStyleSchemeChooserGidBuilderT()

Fluent builder implementation template for gtksource.style_scheme_chooser.StyleSchemeChooser

Functions
T styleScheme(gtksource.style_scheme.StyleScheme propval)

Set styleScheme property.

Parameters

propvalContains the currently selected style scheme. The property can be set to change the current selection programmatically.

Returns

Builder instance for fluent chaining