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.RotateAction
structure 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.RotateAction
instanceNew in version 1.12.
- do_rotate(actor, angle) virtual¶
- Parameters:
actor (
Clutter.Actor
) –angle (
float
) –
- Return type:
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.Actor
attached to the actionangle (
float
) – the difference of angle of rotation between the initial rotation and the current rotation
- Returns:
True
if the rotation should continue, andFalse
if the rotation should be cancelled.- Return type:
The
::rotate
signal 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.