GtkSourceStyle

GtkSourceStyle — Represents a style

Functions

Types and Values

Includes

#include <gtksourceview/gtksource.h>

Description

The GtkSourceStyle structure is used to describe text attributes which are set when given style is used.

Functions

gtk_source_style_copy ()

GtkSourceStyle *
gtk_source_style_copy (const GtkSourceStyle *style);

Creates a copy of style , that is a new GtkSourceStyle instance which has the same attributes set.

Parameters

style

a GtkSourceStyle structure to copy.

 

Returns

copy of style , call g_object_unref() when you are done with it.

[transfer full]

Since: 2.0

Types and Values

GtkSourceStyle

typedef struct _GtkSourceStyle GtkSourceStyle;

See Also

GtkSourceStyleScheme, GtkSourceStyleSchemeManager