Class
ClutterAlignConstraint
Description [src]
final class Clutter.AlignConstraint : Clutter.Constraint
{
/* No available fields */
}
A constraint aligning the position of an actor
ClutterAlignConstraint
is a ClutterConstraint
that aligns the position
of the ClutterActor
to which it is applied to the size of another
ClutterActor
using an alignment factor.
Constructors
clutter_align_constraint_new
Creates a new constraint, aligning a ClutterActor
‘s position with
regards of the size of the actor to source
, with the given
alignment factor
.
Instance methods
clutter_align_constraint_get_align_axis
Retrieves the value set using clutter_align_constraint_set_align_axis()
.
clutter_align_constraint_get_factor
Retrieves the factor set using clutter_align_constraint_set_factor()
.
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_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.
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
.
clutter_actor_meta_get_enabled
Retrieves whether meta
is enabled.
clutter_actor_meta_get_name
Retrieves the name set using clutter_actor_meta_set_name()
.
clutter_actor_meta_set_enabled
Sets whether meta
should be enabled or not.
clutter_actor_meta_set_name
Sets the name of meta
.
Properties
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.
Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor
The ClutterActor
attached to the ClutterActorMeta
instance.
Clutter.ActorMeta:enabled
Whether or not the ClutterActorMeta
is enabled.
Clutter.ActorMeta:name
The unique name to access the ClutterActorMeta
.
Signals
Signals inherited from GObject (1)
GObject::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.