Function
Clutterparam_spec_units
Declaration [src]
GParamSpec*
clutter_param_spec_units (
const gchar* name,
const gchar* nick,
const gchar* blurb,
ClutterUnitType default_type,
gfloat minimum,
gfloat maximum,
gfloat default_value,
GParamFlags flags
)
Description [src]
Creates a GParamSpec
for properties using ClutterUnits
.
Available since: | 1.0 |
This function is not directly available to language bindings |
Parameters
name |
const gchar* |
Name of the property. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
nick |
const gchar* |
Short name. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
blurb |
const gchar* |
Description (can be translatable) |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
default_type |
ClutterUnitType |
The default type for the |
|
minimum |
gfloat |
Lower boundary. |
|
maximum |
gfloat |
Higher boundary. |
|
default_value |
gfloat |
Default value. |
|
flags |
GParamFlags |
Flags for the param spec. |
Return value
Returns: | GParamSpec |
The newly created |
|
The data is owned by the called function. |