Signal

ClutterRotateAction::rotate

Declaration

gboolean
rotate (
  ClutterRotateAction* self,
  ClutterActor* actor,
  gdouble angle,
  gpointer user_data
)

Description [src]

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

Default handler:

The default handler is called after the handlers added via g_signal_connect().

Available since:1.12

Parameters

actor ClutterActor
 

The ClutterActor attached to the action.

 The data is owned by the caller of the function.
angle gdouble
 

The difference of angle of rotation between the initial rotation and the current rotation.

Return value

Returns: gboolean
 

TRUE if the rotation should continue, and FALSE if the rotation should be cancelled.