Clutter.RotateAction

g Clutter.Action Clutter.Action Clutter.GestureAction Clutter.GestureAction Clutter.Action->Clutter.GestureAction Clutter.ActorMeta Clutter.ActorMeta Clutter.ActorMeta->Clutter.Action Clutter.RotateAction Clutter.RotateAction Clutter.GestureAction->Clutter.RotateAction GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Clutter.ActorMeta GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

Clutter.GestureAction (18), Clutter.ActorMeta (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

Clutter.GestureAction (5), Clutter.ActorMeta (1), GObject.Object (7)

do_rotate (actor, angle)

Properties

Inherited:

Clutter.GestureAction (4), Clutter.ActorMeta (3)

Signals

Inherited:

Clutter.GestureAction (4), GObject.Object (1)

Name

Short Description

rotate

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).

Fields

Inherited:

Clutter.GestureAction (4), GObject.Object (1)

Name

Type

Access

Description

parent_instance

Clutter.GestureAction

r

Class Details

class Clutter.RotateAction(**kwargs)
Bases:

Clutter.GestureAction

Abstract:

No

Structure:

Clutter.RotateActionClass

The Clutter.RotateAction structure contains only private data and should be accessed using the provided API

New in version 1.12.

classmethod new()
Returns:

the newly created Clutter.RotateAction

Return type:

Clutter.Action

Creates a new Clutter.RotateAction instance

New in version 1.12.

do_rotate(actor, angle) virtual
Parameters:
Return type:

bool

Signal Details

Clutter.RotateAction.signals.rotate(rotate_action, actor, angle)
Signal Name:

rotate

Flags:

RUN_LAST

Parameters:
Returns:

True if the rotation should continue, and False if the rotation should be cancelled.

Return type:

bool

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.