Class

ClutterAlignConstraint

Description [src]

final class Clutter.AlignConstraint : Clutter.Constraint {
  /* No available fields */
}

ClutterAlignConstraint is an opaque structure whose members cannot be directly accesses.

Available since:1.4

Constructors

clutter_align_constraint_new

Creates a new constraint, aligning a ClutterActors position with regards of the size of the actor to source, with the given alignment factor.

Available since: 1.4

Instance methods

clutter_align_constraint_get_align_axis

Retrieves the value set using clutter_align_constraint_set_align_axis()

Available since: 1.4

clutter_align_constraint_get_factor

Retrieves the factor set using clutter_align_constraint_set_factor()

Available since: 1.4

clutter_align_constraint_get_pivot_point

Gets the pivot point used by the constraint set with clutter_align_constraint_set_pivot_point(). If no custom pivot point is set, -1 is set.

clutter_align_constraint_get_source

Retrieves the source of the alignment.

Available since: 1.4

clutter_align_constraint_set_align_axis

Sets the axis to which the alignment refers to.

Available since: 1.4

clutter_align_constraint_set_factor

Sets the alignment factor of the constraint.

Available since: 1.4

clutter_align_constraint_set_pivot_point

Sets the pivot point used by the constraint, the pivot point is the point in the constraint actor around which the aligning is applied, with (0, 0) being the top left corner of the actor and (1, 1) the bottom right corner of the actor.

clutter_align_constraint_set_source

Sets the source of the alignment constraint.

Available since: 1.4

Methods inherited from ClutterConstraint (1)
clutter_constraint_update_preferred_size

Asks the constraint to update the size request of a ClutterActor.

Methods inherited from ClutterActorMeta (5)
clutter_actor_meta_get_actor

Retrieves a pointer to the ClutterActor that owns meta.

Available since: 1.4

clutter_actor_meta_get_enabled

Retrieves whether meta is enabled.

Available since: 1.4

clutter_actor_meta_get_name

Retrieves the name set using clutter_actor_meta_set_name()

Available since: 1.4

clutter_actor_meta_set_enabled

Sets whether meta should be enabled or not.

Available since: 1.4

clutter_actor_meta_set_name

Sets the name of meta.

Available since: 1.4

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

Clutter.AlignConstraint:align-axis

The axis to be used to compute the alignment.

Available since: 1.4

Clutter.AlignConstraint:factor

The alignment factor, as a normalized value between 0.0 and 1.0

Available since: 1.4

Clutter.AlignConstraint:pivot-point

The pivot point used by the constraint. The pivot point is the point in the constraint actor around which the aligning is applied, with (0, 0) being the top left corner of the actor and (1, 1) the bottom right corner of the actor.

Clutter.AlignConstraint:source

The ClutterActor used as the source for the alignment.

Available since: 1.4

Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor

The ClutterActor attached to the ClutterActorMeta instance.

Available since: 1.4

Clutter.ActorMeta:enabled

Whether or not the ClutterActorMeta is enabled.

Available since: 1.4

Clutter.ActorMeta:name

The unique name to access the ClutterActorMeta.

Available since: 1.4

Signals

Signals inherited from GObject (1)
GObject.Object::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct ClutterAlignConstraintClass {
  /* no available fields */
}