Class: Clutter::BindConstraint

Inherits:
Constraint show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from ActorMeta

#actor, #actor=, #enabled, #enabled=, #enabled?, #name, #name=

Constructor Details

#initialize(source, coordinate, offset) ⇒ Clutter::Constraint

Creates a new constraint, binding a Clutter::Actor's position to the given coordinate of the position of source

Parameters:

  • source (Clutter::Actor)

    the Clutter::Actor to use as the source of the binding, or nil

  • coordinate (Clutter::BindCoordinate)

    the coordinate to bind

  • offset (Clutter::gfloat)

    the offset to apply to the binding, in pixels

Instance Method Details

#coordinateClutter::BindCoordinate

The coordinate to be bound

Returns:

#coordinate=(coordinate) ⇒ Clutter::BindCoordinate

The coordinate to be bound

Parameters:

Returns:

#offsetClutter::gfloat

The offset, in pixels, to be applied to the binding

Returns:

  • (Clutter::gfloat)

    offset

#offset=(offset) ⇒ Clutter::gfloat

The offset, in pixels, to be applied to the binding

Parameters:

  • offset (Clutter::gfloat)

Returns:

  • (Clutter::gfloat)

    offset

  • (Clutter::gfloat)

    offset

#sourceClutter::Actor

The Clutter::Actor used as the source for the binding.

The Clutter::Actor must not be contained inside the actor associated to the constraint.

Returns:

#source=(source) ⇒ Clutter::Actor

The Clutter::Actor used as the source for the binding.

The Clutter::Actor must not be contained inside the actor associated to the constraint.

Parameters:

Returns: