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

## Signals

      "style-changed"                                  : Run Last

## 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.

## Signal Details

### The "style-changed" signal

    void                user_function                      (GtkSourceStyleScheme *sourcestylescheme,
                                                            gchar                *arg1,
                                                            gpointer              user_data)              : Run Last

`sourcestylescheme` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.