Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterGravity |
Enum : | Gravity |
Show / Hide Inherited methods, properties and signals |
Properties | |
---|---|
Number Clutter.Gravity.CENTER : 9
|
|
Number Clutter.Gravity.EAST : 3
|
|
Number Clutter.Gravity.NONE : 0
|
|
Number Clutter.Gravity.NORTH : 1
|
|
Number Clutter.Gravity.NORTH_EAST : 2
|
|
Number Clutter.Gravity.NORTH_WEST : 8
|
|
Number Clutter.Gravity.SOUTH : 5
|
|
Number Clutter.Gravity.SOUTH_EAST : 4
|
|
Number Clutter.Gravity.SOUTH_WEST : 6
|
|
Number 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 |
Sets the rotation angle of self around the Z axis using the center point specified as a compass point.
|
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 |
direction.
|
Clutter.Actor
Method |
get_scale_gravity
()
:
Clutter.Gravity
Retrieves the scale center as a compass direction.
|
Clutter.Actor
Method |
get_anchor_point_gravity
()
:
Clutter.Gravity
Retrieves the anchor position expressed as a ClutterGravity.
|
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 |
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.
|