Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterGravity |
Enum : | Gravity |
Properties | |
---|---|
guint32 Clutter.Gravity.CENTER : 9
|
|
guint32 Clutter.Gravity.EAST : 3
|
|
guint32 Clutter.Gravity.NONE : 0
|
|
guint32 Clutter.Gravity.NORTH : 1
|
|
guint32 Clutter.Gravity.NORTH_EAST : 2
|
|
guint32 Clutter.Gravity.NORTH_WEST : 8
|
|
guint32 Clutter.Gravity.SOUTH : 5
|
|
guint32 Clutter.Gravity.SOUTH_EAST : 4
|
|
guint32 Clutter.Gravity.SOUTH_WEST : 6
|
|
guint32 Clutter.Gravity.WEST : 7
|
None |
None |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Clutter.Actor
Property |
anchor_gravity : Clutter.Gravity
The anchor point expressed as a ClutterGravity
|
Clutter.Actor
Property |
rotation_center_z_gravity : Clutter.Gravity
The rotation center on the Z axis expressed as a ClutterGravity.
|
Clutter.Actor
Property |
scale_gravity : Clutter.Gravity
The center point for scaling expressed as a ClutterGravity
|
Clutter.Actor
Method |
get_anchor_point_gravity
()
:
Clutter.Gravity
Retrieves the anchor position expressed as a ClutterGravity.
|
Clutter.Actor
Method |
get_scale_gravity
()
:
Clutter.Gravity
Retrieves the scale center as a compass direction.
|
Clutter.Actor
Method |
get_z_rotation_gravity
()
:
Clutter.Gravity
Retrieves the center for the rotation around the Z axis as a
compass direction. |
Clutter.Actor
Method |
move_anchor_point_from_gravity
(Gravity gravity)
:
none
Sets an anchor point on the actor based on the given gravity, adjusting the
actor postion so that its relative position within its parent remains unchanged. |
Clutter.Actor
Method |
set_anchor_point_from_gravity
(Gravity gravity)
:
none
Sets an anchor point on the actor, based on the given gravity (this is a
convenience function wrapping clutter_actor_set_anchor_point()). |
Clutter.Actor
Method |
Scales an actor with the given factors around the given
center point. |
Clutter.Actor
Method |
Sets the rotation angle of self around the Z axis using the center
point specified as a compass point. |