Class: Clutter::GestureAction
- Defined in:
- (unknown)
Overview
The Clutter::GestureClass structure contains only private data.
Direct Known Subclasses
Instance Method Summary collapse
-
#cancel ⇒ nil
Cancel a Clutter::GestureAction before it begins.
-
#get_device(point) ⇒ Clutter::InputDevice
Retrieves the Clutter::InputDevice of a touch point.
-
#get_last_event(point) ⇒ Clutter::Event
Retrieves a reference to the last Clutter::Event for a touch point.
-
#get_motion_coords(point, motion_x, motion_y) ⇒ nil
Retrieves the coordinates, in stage space, of the latest motion event during the dragging.
-
#get_motion_delta(point, delta_x, delta_y) ⇒ Clutter::gfloat
Retrieves the incremental delta since the last motion event during the dragging.
-
#get_press_coords(point, press_x, press_y) ⇒ nil
Retrieves the coordinates, in stage space, of the press event that started the dragging for a specific touch point.
-
#get_release_coords(point, release_x, release_y) ⇒ nil
Retrieves the coordinates, in stage space, where the touch point was last released.
-
#get_sequence(point) ⇒ Clutter::EventSequence
Retrieves the Clutter::EventSequence of a touch point.
-
#get_threshold_trigger_distance(x, y) ⇒ nil
Retrieves the threshold trigger distance of the gesture action, as set using clutter_gesture_action_set_threshold_trigger_distance().
-
#get_velocity(point, velocity_x, velocity_y) ⇒ Clutter::gfloat
Retrieves the velocity, in stage pixels per millisecond, of the latest motion event during the dragging.
-
#initialize ⇒ Clutter::Action
constructor
Creates a new Clutter::GestureAction instance.
-
#n_current_points ⇒ Integer
Retrieves the number of points currently active.
-
#n_touch_points ⇒ Integer
Number of touch points to trigger a gesture action.
-
#n_touch_points=(n_touch_points) ⇒ Integer
Number of touch points to trigger a gesture action.
-
#set_threshold_trigger_distance(x, y) ⇒ nil
Sets the threshold trigger distance for the gesture drag threshold, if any.
-
#threshold_trigger_distance_x ⇒ Clutter::gfloat
The horizontal trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
-
#threshold_trigger_distance_x=(threshold_trigger_distance_x) ⇒ Clutter::gfloat
The horizontal trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
-
#threshold_trigger_distance_y ⇒ Clutter::gfloat
The vertical trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
-
#threshold_trigger_distance_y=(threshold_trigger_distance_y) ⇒ Clutter::gfloat
The vertical trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
-
#threshold_trigger_edge ⇒ Clutter::GestureTriggerEdge
The trigger edge to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
-
#threshold_trigger_edge=(threshold_trigger_edge) ⇒ Clutter::GestureTriggerEdge
The trigger edge to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
-
#threshold_trigger_egde ⇒ Clutter::GestureTriggerEdge
Retrieves the edge trigger of the gesture action, as set using clutter_gesture_action_set_threshold_trigger_edge().
Methods inherited from ActorMeta
#actor, #actor=, #enabled, #enabled=, #enabled?, #name, #name=
Constructor Details
#initialize ⇒ Clutter::Action
Creates a new Clutter::GestureAction instance.
Instance Method Details
#cancel ⇒ nil
Cancel a Clutter::GestureAction before it begins
#get_device(point) ⇒ Clutter::InputDevice
Retrieves the Clutter::InputDevice of a touch point.
#get_last_event(point) ⇒ Clutter::Event
Retrieves a reference to the last Clutter::Event for a touch point. Call clutter_event_copy() if you need to store the reference somewhere.
#get_motion_coords(point, motion_x, motion_y) ⇒ nil
Retrieves the coordinates, in stage space, of the latest motion event during the dragging.
#get_motion_delta(point, delta_x, delta_y) ⇒ Clutter::gfloat
Retrieves the incremental delta since the last motion event during the dragging.
#get_press_coords(point, press_x, press_y) ⇒ nil
Retrieves the coordinates, in stage space, of the press event that started the dragging for a specific touch point.
#get_release_coords(point, release_x, release_y) ⇒ nil
Retrieves the coordinates, in stage space, where the touch point was last released.
#get_sequence(point) ⇒ Clutter::EventSequence
Retrieves the Clutter::EventSequence of a touch point.
#get_threshold_trigger_distance(x, y) ⇒ nil
Retrieves the threshold trigger distance of the gesture action, as set using clutter_gesture_action_set_threshold_trigger_distance().
#get_velocity(point, velocity_x, velocity_y) ⇒ Clutter::gfloat
Retrieves the velocity, in stage pixels per millisecond, of the latest motion event during the dragging.
#n_current_points ⇒ Integer
Retrieves the number of points currently active.
#n_touch_points ⇒ Integer
Number of touch points to trigger a gesture action.
#n_touch_points=(n_touch_points) ⇒ Integer
Number of touch points to trigger a gesture action.
#set_threshold_trigger_distance(x, y) ⇒ nil
Sets the threshold trigger distance for the gesture drag threshold, if any.
This function should only be called by sub-classes of Clutter::GestureAction during their construction phase.
#threshold_trigger_distance_x ⇒ Clutter::gfloat
The horizontal trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
A negative value will be interpreted as the default drag threshold.
#threshold_trigger_distance_x=(threshold_trigger_distance_x) ⇒ Clutter::gfloat
The horizontal trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
A negative value will be interpreted as the default drag threshold.
#threshold_trigger_distance_y ⇒ Clutter::gfloat
The vertical trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
A negative value will be interpreted as the default drag threshold.
#threshold_trigger_distance_y=(threshold_trigger_distance_y) ⇒ Clutter::gfloat
The vertical trigger distance to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
A negative value will be interpreted as the default drag threshold.
#threshold_trigger_edge ⇒ Clutter::GestureTriggerEdge
The trigger edge to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
#threshold_trigger_edge=(threshold_trigger_edge) ⇒ Clutter::GestureTriggerEdge
The trigger edge to be used by the action to either emit the Clutter::GestureAction::gesture-begin signal or to emit the Clutter::GestureAction::gesture-cancel signal.
#threshold_trigger_egde ⇒ Clutter::GestureTriggerEdge
Retrieves the edge trigger of the gesture action, as set using clutter_gesture_action_set_threshold_trigger_edge().