Constructor
ClutterBindConstraintnew
Declaration [src]
ClutterConstraint*
clutter_bind_constraint_new (
ClutterActor* source,
ClutterBindCoordinate coordinate,
gfloat offset
)
Description [src]
Creates a new constraint, binding a ClutterActor‘s position to
the given coordinate of the position of source.
Parameters
source-
Type:
ClutterActorThe
ClutterActorto use as the source of the binding, orNULL.The argument can be NULL.The data is owned by the caller of the function. coordinate-
Type:
ClutterBindCoordinateThe coordinate to bind.
offset-
Type:
gfloatThe offset to apply to the binding, in pixels.
Return value
Type: ClutterConstraint
The newly created ClutterBindConstraint.
| The data is owned by the called function. |