GtkSourceStyle

## GtkSourceStyle GtkSourceStyle — Object representyng a style |

## Synopsis

    #include <gtksourceview/gtksource.h>

                        GtkSourceStyle;
    GtkSourceStyle *    gtk_source_style_copy               (const GtkSourceStyle *style);

## Object Hierarchy

      GObject
       +----GtkSourceStyle

## Properties

      "background"               gchar*                : Read / Write / Construct Only
      "background-set"           gboolean              : Read / Write / Construct Only
      "bold"                     gboolean              : Read / Write / Construct Only
      "bold-set"                 gboolean              : Read / Write / Construct Only
      "foreground"               gchar*                : Read / Write / Construct Only
      "foreground-set"           gboolean              : Read / Write / Construct Only
      "italic"                   gboolean              : Read / Write / Construct Only
      "italic-set"               gboolean              : Read / Write / Construct Only
      "line-background"          gchar*                : Read / Write / Construct Only
      "line-background-set"      gboolean              : Read / Write / Construct Only
      "strikethrough"            gboolean              : Read / Write / Construct Only
      "strikethrough-set"        gboolean              : Read / Write / Construct Only
      "underline"                gboolean              : Read / Write / Construct Only
      "underline-set"            gboolean              : Read / Write / Construct Only

## Description

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

## Details

### GtkSourceStyle

    typedef struct _GtkSourceStyle GtkSourceStyle;

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

`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

## Property Details

### The `"background"` property

      "background"               gchar*                : Read / Write / Construct Only

Background color.

Default value: NULL

### The `"background-set"` property

      "background-set"           gboolean              : Read / Write / Construct Only

Whether background color is set.

Default value: FALSE

### The `"bold"` property

      "bold"                     gboolean              : Read / Write / Construct Only

Bold.

Default value: FALSE

### The `"bold-set"` property

      "bold-set"                 gboolean              : Read / Write / Construct Only

Whether bold attribute is set.

Default value: FALSE

### The `"foreground"` property

      "foreground"               gchar*                : Read / Write / Construct Only

Foreground color.

Default value: NULL

### The `"foreground-set"` property

      "foreground-set"           gboolean              : Read / Write / Construct Only

Whether foreground color is set.

Default value: FALSE

### The `"italic"` property

      "italic"                   gboolean              : Read / Write / Construct Only

Italic.

Default value: FALSE

### The `"italic-set"` property

      "italic-set"               gboolean              : Read / Write / Construct Only

Whether italic attribute is set.

Default value: FALSE

### The `"line-background"` property

      "line-background"          gchar*                : Read / Write / Construct Only

Line background color.

Default value: NULL

### The `"line-background-set"` property

      "line-background-set"      gboolean              : Read / Write / Construct Only

Whether line background color is set.

Default value: FALSE

### The `"strikethrough"` property

      "strikethrough"            gboolean              : Read / Write / Construct Only

Strikethrough.

Default value: FALSE

### The `"strikethrough-set"` property

      "strikethrough-set"        gboolean              : Read / Write / Construct Only

Whether strikethrough attribute is set.

Default value: FALSE

### The `"underline"` property

      "underline"                gboolean              : Read / Write / Construct Only

Underline.

Default value: FALSE

### The `"underline-set"` property

      "underline-set"            gboolean              : Read / Write / Construct Only

Whether underline attribute is set.

Default value: FALSE

## See Also

GtkSourceStyleScheme, GtkSourceStyleSchemeManager