GtkSource.StyleSchemePreview.new
Description: Reference for GtkSource.StyleSchemePreview.new

### Constructor

# GtkSource StyleSchemePreviewnew

#### Declaration [src]

    GtkWidget*
    gtk_source_style_scheme_preview_new (
      GtkSourceStyleScheme* scheme
    )

#### Description [src]

Creates a new `GtkSourceStyleSchemePreview` to preview the style scheme provided in `scheme`.

Available since: | 5.4

#### Parameters

`scheme` | `GtkSourceStyleScheme`
| A `GtkSourceStyleScheme`.
| The data is owned by the caller of the function.

#### Return value

Returns: | `GtkWidget`
| A `GtkWidget`.
| The caller of the function takes ownership of the data, and is responsible for freeing it.