Constructor

ClutterBindConstraintnew

Declaration [src]

ClutterConstraint*
clutter_bind_constraint_new (
  ClutterActor* source,
  ClutterBindCoordinate coordinate,
  gfloat offset
)

Description [src]

Creates a new constraint, binding a ClutterActors position to the given coordinate of the position of source.

Available since:1.4

Parameters

source ClutterActor
 

The ClutterActor to use as the source of the binding, or NULL.

 The argument can be NULL.
 The data is owned by the caller of the function.
coordinate ClutterBindCoordinate
 

The coordinate to bind.

offset gfloat
 

The offset to apply to the binding, in pixels.

Return value

Returns: ClutterConstraint
 

The newly created ClutterBindConstraint.

 The data is owned by the called function.