Function

Geglparam_spec_color_from_string

Declaration [src]

GParamSpec*
gegl_param_spec_color_from_string (
  const gchar* name,
  const gchar* nick,
  const gchar* blurb,
  const gchar* default_color_string,
  GParamFlags flags
)

Description [src]

Creates a new GParamSpec instance specifying a GeglColor property.

Parameters

name 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 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 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.
default_color_string const gchar*
 

The default value for the property specified.

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

Flags for the property specified.

Return value

Returns: GParamSpec
 

A newly created parameter specification.

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