Class
ClutterGestureAction
Instance methods
clutter_gesture_action_get_device
Retrieves the ClutterInputDevice
of a touch point.
Available since: 1.12
clutter_gesture_action_get_last_event
Retrieves a reference to the last ClutterEvent
for a touch point. Call
clutter_event_copy()
if you need to store the reference somewhere.
Available since: 1.14
clutter_gesture_action_get_motion_coords
Retrieves the coordinates, in stage space, of the latest motion event during the dragging.
Available since: 1.8
clutter_gesture_action_get_motion_delta
Retrieves the incremental delta since the last motion event during the dragging.
Available since: 1.12
clutter_gesture_action_get_n_current_points
Retrieves the number of points currently active.
Available since: 1.12
clutter_gesture_action_get_n_touch_points
Retrieves the number of requested points to trigger the gesture.
Available since: 1.12
clutter_gesture_action_get_press_coords
Retrieves the coordinates, in stage space, of the press event that started the dragging for a specific touch point.
Available since: 1.8
clutter_gesture_action_get_release_coords
Retrieves the coordinates, in stage space, where the touch point was last released.
Available since: 1.8
clutter_gesture_action_get_sequence
Retrieves the ClutterEventSequence
of a touch point.
Available since: 1.12
clutter_gesture_action_get_threshold_trigger_distance
Retrieves the threshold trigger distance of the gesture action
,
as set using clutter_gesture_action_set_threshold_trigger_distance().
Available since: 1.18
clutter_gesture_action_get_threshold_trigger_edge
Retrieves the edge trigger of the gesture action
, as set using clutter_gesture_action_set_threshold_trigger_edge().
Available since: 1.20
clutter_gesture_action_get_threshold_trigger_egde
Retrieves the edge trigger of the gesture action
, as set using clutter_gesture_action_set_threshold_trigger_edge().
Available since: 1.18
Deprecated since: 1.20
clutter_gesture_action_get_velocity
Retrieves the velocity, in stage pixels per millisecond, of the latest motion event during the dragging.
Available since: 1.12
clutter_gesture_action_set_n_touch_points
Sets the number of points needed to trigger the gesture.
Available since: 1.12
clutter_gesture_action_set_threshold_trigger_distance
Sets the threshold trigger distance for the gesture drag threshold, if any.
Available since: 1.18
clutter_gesture_action_set_threshold_trigger_edge
Sets the edge trigger for the gesture drag threshold, if any.
Available since: 1.18
Methods inherited from ClutterAction (1)
clutter_action_get_phase
Methods inherited from ClutterActorMeta (5)
clutter_actor_meta_get_actor
Retrieves a pointer to the ClutterActor
that owns meta
.
Available since: 1.4
clutter_actor_meta_get_enabled
Retrieves whether meta
is enabled.
Available since: 1.4
clutter_actor_meta_get_name
Retrieves the name set using clutter_actor_meta_set_name()
Available since: 1.4
clutter_actor_meta_set_enabled
Sets whether meta
should be enabled or not.
Available since: 1.4
clutter_actor_meta_set_name
Sets the name of meta
.
Available since: 1.4
Properties
Clutter.GestureAction:n-touch-points
Number of touch points to trigger a gesture action.
Available since: 1.16
Clutter.GestureAction:threshold-trigger-distance-x
The horizontal trigger distance to be used by the action to either
emit the ClutterGestureAction::gesture-begin
signal or to emit
the ClutterGestureAction::gesture-cancel
signal.
Available since: 1.18
Clutter.GestureAction:threshold-trigger-distance-y
The vertical trigger distance to be used by the action to either
emit the ClutterGestureAction::gesture-begin
signal or to emit
the ClutterGestureAction::gesture-cancel
signal.
Available since: 1.18
Clutter.GestureAction:threshold-trigger-edge
The trigger edge to be used by the action to either emit the
ClutterGestureAction::gesture-begin
signal or to emit the
ClutterGestureAction::gesture-cancel
signal.
Available since: 1.18
Properties inherited from ClutterActorMeta (3)
Clutter.ActorMeta:actor
The ClutterActor
attached to the ClutterActorMeta
instance.
Available since: 1.4
Clutter.ActorMeta:enabled
Whether or not the ClutterActorMeta
is enabled.
Available since: 1.4
Clutter.ActorMeta:name
The unique name to access the ClutterActorMeta
.
Available since: 1.4
Signals
Clutter.GestureAction::gesture-begin
The ::gesture_begin signal is emitted when the ClutterActor
to which
a ClutterGestureAction
has been applied starts receiving a gesture.
Available since: 1.8
Clutter.GestureAction::gesture-cancel
The ::gesture-cancel signal is emitted when the ongoing gesture gets
cancelled from the ClutterGestureAction::gesture-progress
signal handler.
Available since: 1.8
Clutter.GestureAction::gesture-end
The ::gesture-end signal is emitted at the end of the gesture gesture, when the pointer’s button is released.
Available since: 1.8
Clutter.GestureAction::gesture-progress
The ::gesture-progress signal is emitted for each motion event after
the ClutterGestureAction::gesture-begin
signal has been emitted.
Available since: 1.8
Signals inherited from GObject (1)
GObject.Object::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct ClutterGestureActionClass {
gboolean (* gesture_begin) (
ClutterGestureAction* action,
ClutterActor* actor
);
gboolean (* gesture_progress) (
ClutterGestureAction* action,
ClutterActor* actor
);
void (* gesture_end) (
ClutterGestureAction* action,
ClutterActor* actor
);
void (* gesture_cancel) (
ClutterGestureAction* action,
ClutterActor* actor
);
gboolean (* gesture_prepare) (
ClutterGestureAction* action,
ClutterActor* actor
);
void (* _clutter_gesture_action1) (
void
);
void (* _clutter_gesture_action2) (
void
);
void (* _clutter_gesture_action3) (
void
);
void (* _clutter_gesture_action4) (
void
);
void (* _clutter_gesture_action5) (
void
);
void (* _clutter_gesture_action6) (
void
);
}
Class members
gesture_begin |
|
No description available. | |
gesture_progress |
|
No description available. | |
gesture_end |
|
No description available. | |
gesture_cancel |
|
No description available. | |
gesture_prepare |
|
No description available. | |
_clutter_gesture_action1 |
|
No description available. | |
_clutter_gesture_action2 |
|
No description available. | |
_clutter_gesture_action3 |
|
No description available. | |
_clutter_gesture_action4 |
|
No description available. | |
_clutter_gesture_action5 |
|
No description available. | |
_clutter_gesture_action6 |
|
No description available. |