Top |
GtkSourceStyleSchemeChooserGtkSourceStyleSchemeChooser — Interface implemented by widgets for choosing style schemes |
Known Implementations
GtkSourceStyleSchemeChooser is implemented by GtkSourceStyleSchemeChooserButton and GtkSourceStyleSchemeChooserWidget.
Description
GtkSourceStyleSchemeChooser is an interface that is implemented by widgets for choosing style schemes.
In GtkSourceView, the main widgets that implement this interface are GtkSourceStyleSchemeChooserWidget and GtkSourceStyleSchemeChooserButton.
Functions
gtk_source_style_scheme_chooser_get_style_scheme ()
GtkSourceStyleScheme *
gtk_source_style_scheme_chooser_get_style_scheme
(GtkSourceStyleSchemeChooser *chooser
);
Gets the currently-selected scheme.
Since: 3.16
gtk_source_style_scheme_chooser_set_style_scheme ()
void gtk_source_style_scheme_chooser_set_style_scheme (GtkSourceStyleSchemeChooser *chooser
,GtkSourceStyleScheme *scheme
);
Sets the scheme.
Since: 3.16
Property Details
The “style-scheme”
property
“style-scheme” GtkSourceStyleScheme *
The :style-scheme property contains the currently selected style scheme. The property can be set to change the current selection programmatically.
Flags: Read / Write
Since: 3.16