Gegl.param_spec_enum
Description: Reference for Gegl.param_spec_enum

### Function

# Gegl param_spec_enum

#### Declaration [src]

    GParamSpec*
    gegl_param_spec_enum (
      const gchar* name,
      const gchar* nick,
      const gchar* blurb,
      GType enum_type,
      gint default_value,
      GParamFlags flags
    )

#### Description [src]

Creates a new `GeglParamSpecEnum` instance.

#### Parameters

`name`

  Type: `const gchar*`

  Canonical name of the property specified.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`nick`

  Type: `const gchar*`

  Nick name for the property specified.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`blurb`

  Type: `const gchar*`

  Description of the property specified.

  The data is owned by the caller of the function.
  The value is a NUL terminated UTF-8 string.

`enum_type`

  Type: `GType`

  The enum type to get valid values from.

`default_value`

  Type: `gint`

  Default value for the property specified.

`flags`

  Type: `GParamFlags`

  Flags for the property specified.

#### Return value

Type: `GParamSpec`

A newly created parameter specification.

The caller of the function takes ownership of the data, and is responsible for freeing it.