|  |  |  | Clutter Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Signals | ||||
struct              ClutterRotateAction;
struct              ClutterRotateActionClass;
ClutterAction *     clutter_rotate_action_new           (void);
  GObject
   +----GInitiallyUnowned
         +----ClutterActorMeta
               +----ClutterAction
                     +----ClutterGestureAction
                           +----ClutterRotateAction
ClutterRotateAction is a sub-class of ClutterGestureAction that implements the logic for recognizing rotate gestures using two touch points.
struct ClutterRotateAction;
The ClutterRotateAction structure contains only private data and should be accessed using the provided API
Since 1.12
struct ClutterRotateActionClass {
  gboolean (* rotate)  (ClutterRotateAction *action,
                        ClutterActor        *actor,
                        gdouble              angle);
};
The ClutterRotateActionClass structure contains only private data.
| class handler for the "rotate" signal | 
Since 1.12
ClutterAction *     clutter_rotate_action_new           (void);
Creates a new ClutterRotateAction instance
| Returns : | the newly created ClutterRotateAction | 
Since 1.12
"rotate" signalgboolean            user_function                      (ClutterRotateAction *action,
                                                        ClutterActor        *actor,
                                                        gdouble              angle,
                                                        gpointer             user_data)      : Run Last
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).
| 
 | the ClutterRotateAction that emitted the signal | 
| 
 | the ClutterActor attached to the action | 
| 
 | the difference of angle of rotation between the initial rotation and the current rotation | 
| 
 | user data set when the signal handler was connected. | 
| Returns : | TRUEif the rotation should continue, andFALSEif
the rotation should be cancelled. | 
Since 1.12