GtkSource.StyleSchemeChooser¶
- Implementations:
GtkSource.StyleSchemeChooserButton
,GtkSource.StyleSchemeChooserWidget
Methods¶
|
Virtual Methods¶
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Current style scheme |
Signals¶
None
Fields¶
None
Class Details¶
- class GtkSource.StyleSchemeChooser¶
- Bases:
- Structure:
Interface implemented by widgets for choosing style schemes.
GtkSourceStyleSchemeChooser
is an interface that is implemented by widgets for choosing style schemes.In
GtkSource.View
, the main widgets that implement this interface are [class`StyleSchemeChooserWidget`] and [class`StyleSchemeChooserButton`].- get_style_scheme()¶
- Returns:
the currently-selected scheme.
- Return type:
Gets the currently-selected scheme.
- set_style_scheme(scheme)¶
- Parameters:
scheme (
GtkSource.StyleScheme
) – aGtkSource.StyleScheme
Sets the scheme.
- do_get_style_scheme() virtual¶
- Returns:
the currently-selected scheme.
- Return type:
Gets the currently-selected scheme.
- do_set_style_scheme(scheme) virtual¶
- Parameters:
scheme (
GtkSource.StyleScheme
) – aGtkSource.StyleScheme
Sets the scheme.
Property Details¶
- GtkSource.StyleSchemeChooser.props.style_scheme¶
- Name:
style-scheme
- Type:
- Default Value:
- Flags:
Contains the currently selected style scheme.
The property can be set to change the current selection programmatically.