Function
Clutterparam_spec_units
since: 13
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: 13
This function is not directly available to language bindings.
Parameters
name
-
Type:
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
-
Type:
const gchar*
Short name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. blurb
-
Type:
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
-
Type:
ClutterUnitType
The default type for the
ClutterUnits
. minimum
-
Type:
gfloat
Lower boundary.
maximum
-
Type:
gfloat
Higher boundary.
default_value
-
Type:
gfloat
Default value.
flags
-
Type:
GParamFlags
Flags for the param spec.
Return value
Type: GParamSpec
The newly created GParamSpec
The data is owned by the called function. |