GtkSourceStyleSchemeChooser

GtkSourceStyleSchemeChooser — Interface implemented by widgets for choosing style schemes

Functions

Types and Values

Includes

#include <gtksourceview/gtksource.h>

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.

Parameters

Returns

the currently-selected scheme.

[transfer none]

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.

Parameters

Since: 3.16

Types and Values

GtkSourceStyleSchemeChooser

typedef struct _GtkSourceStyleSchemeChooser GtkSourceStyleSchemeChooser;

See Also

GtkSourceStyleSchemeChooserWidget, GtkSourceStyleSchemeChooserButton