StyleSchemeChooser#

class StyleSchemeChooser(*args, **kwargs)#

Implementations: StyleSchemeChooserButton, StyleSchemeChooserWidget

Interface implemented by widgets for choosing style schemes.

GtkSourceStyleSchemeChooser is an interface that is implemented by widgets for choosing style schemes.

In GtkSourceView, the main widgets that implement this interface are StyleSchemeChooserWidget and StyleSchemeChooserButton.

Methods#

class StyleSchemeChooser
get_style_scheme() StyleScheme#

Gets the currently-selected scheme.

set_style_scheme(scheme: StyleScheme) None#

Sets the scheme.

Parameters:

scheme – a StyleScheme

Properties#

class StyleSchemeChooser
props.style_scheme: StyleScheme#

The type of the None singleton.

Virtual Methods#

class StyleSchemeChooser
do_get_style_scheme() StyleScheme#

Gets the currently-selected scheme.

do_set_style_scheme(scheme: StyleScheme) None#

Sets the scheme.

Parameters:

scheme – a StyleScheme