Top |
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.
ClutterAction *
clutter_rotate_action_new (void
);
Creates a new ClutterRotateAction instance
Since: 1.12
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.
Since: 1.12
“rotate”
signalgboolean user_function (ClutterRotateAction *action, ClutterActor *actor, double angle, gpointer user_data)
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).
action |
the ClutterRotateAction that emitted the signal |
|
actor |
the ClutterActor attached to the |
|
angle |
the difference of angle of rotation between the initial rotation and the current rotation |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 1.12