Function

Gimpparam_spec_text_layer

Declaration [src]

GParamSpec*
gimp_param_spec_text_layer (
  const gchar* name,
  const gchar* nick,
  const gchar* blurb,
  gboolean none_ok,
  GParamFlags flags
)

Description [src]

Creates a new GimpParamSpecTextLayer specifying a

GIMP_TYPE_TEXT_LAYER property.

See g_param_spec_internal() for details on property names.

Available since:3.0

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 of 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.
none_ok gboolean
 

Whether no is a valid value.

flags GParamFlags
 

Flags for the property specified.

Return value

Returns: GParamSpec
 

The newly created GimpParamSpecTextLayer.

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