Function
Gimpparam_spec_gradient
Declaration [src]
GParamSpec*
gimp_param_spec_gradient (
const gchar* name,
const gchar* nick,
const gchar* blurb,
gboolean none_ok,
GParamFlags flags
)
Description [src]
Creates a new GimpParamSpecGradient
specifying a
GIMP_TYPE_GRADIENT 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 |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |