GtkSourceStyleScheme

## GtkSourceStyleScheme GtkSourceStyleScheme — |

## Synopsis

    #include <gtksourceview/gtksourcestylescheme.h>

                GtkSourceStyleScheme;
                GtkSourceStyleSchemeClass;
    GtkSourceTagStyle* gtk_source_style_scheme_get_tag_style
                                                (GtkSourceStyleScheme *scheme,
                                                 const gchar *style_name);
    const gchar* gtk_source_style_scheme_get_name
                                                (GtkSourceStyleScheme *scheme);
    GtkSourceStyleScheme* gtk_source_style_scheme_get_default
                                                (void);

## Object Hierarchy

      GInterface
       +----GtkSourceStyleScheme

## Description

## Details

### GtkSourceStyleScheme

    typedef struct _GtkSourceStyleScheme GtkSourceStyleScheme;

### GtkSourceStyleSchemeClass

    typedef struct {
    	GTypeInterface	base_iface;

    	/* signals */
    	void                      (* style_changed)     (GtkSourceStyleScheme *scheme,
    							 const gchar          *tag_id);

    	/* vtable */
    	const gchar		* (* get_name)		(GtkSourceStyleScheme *scheme);
    	GtkSourceTagStyle       * (* get_tag_style) 	(GtkSourceStyleScheme *scheme,
    						     	 const gchar          *style_name);
    	GSList                  * (* get_style_names)   (GtkSourceStyleScheme *scheme);

    	/* Padding for future expansion */
    	void (*_gtk_source_reserved1) (void);
    	void (*_gtk_source_reserved2) (void);
    	void (*_gtk_source_reserved3) (void);
    	void (*_gtk_source_reserved4) (void);
    } GtkSourceStyleSchemeClass;

### gtk_source_style_scheme_get_tag_style ()

    GtkSourceTagStyle* gtk_source_style_scheme_get_tag_style
                                                (GtkSourceStyleScheme *scheme,
                                                 const gchar *style_name);

Gets the tag associated with the given `style_name` in the style `scheme`.

`scheme` : | a GtkSourceStyleScheme.
`style_name` : | the name of a style.
Returns : | a GtkSourceTagStyle.

### gtk_source_style_scheme_get_name ()

    const gchar* gtk_source_style_scheme_get_name
                                                (GtkSourceStyleScheme *scheme);

Gets the name of the given style `scheme`.

`scheme` : | a GtkSourceStyleScheme.
Returns : | the name of the style scheme.

### gtk_source_style_scheme_get_default ()

    GtkSourceStyleScheme* gtk_source_style_scheme_get_default
                                                (void);

Gets the default style scheme.

Returns : | a GtkSourceStyleScheme.