Clutter.RotateAction¶
- Subclasses:
None
Methods¶
- Inherited:
Clutter.GestureAction (18), Clutter.ActorMeta (5), GObject.Object (37)
- Structs:
class |
|
Virtual Methods¶
|
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
The |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
|---|---|---|---|
parent_instance |
r |
Class Details¶
- class Clutter.RotateAction(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
The
Clutter.RotateActionstructure contains only private data and should be accessed using the provided APINew in version 1.12.
- classmethod new()¶
- Returns:
the newly created
Clutter.RotateAction- Return type:
Creates a new
Clutter.RotateActioninstanceNew in version 1.12.
- do_rotate(actor, angle) virtual¶
- Parameters:
actor (
Clutter.Actor) –angle (
float) –
- Return type:
class handler for the
Clutter.RotateAction::rotatesignal
Signal Details¶
- Clutter.RotateAction.signals.rotate(rotate_action, actor, angle)¶
- Signal Name:
rotate- Flags:
- Parameters:
rotate_action (
Clutter.RotateAction) – The object which received the signalactor (
Clutter.Actor) – theClutter.Actorattached to the actionangle (
float) – the difference of angle of rotation between the initial rotation and the current rotation
- Returns:
Trueif the rotation should continue, andFalseif the rotation should be cancelled.- Return type:
The
::rotatesignal is emitted when a rotate gesture is recognized on the attached actor and when the gesture is cancelled (in this case with an angle value of 0).New in version 1.12.