1.42 <GdkTouchpadEvent>

Class: <GdkTouchpadEvent>

It derives from <GdkEvent>.

An event related to a gesture on a touchpad device.

Unlike touchscreens, where the windowing system sends basic sequences of begin, update, end events, and leaves gesture recognition to the clients, touchpad gestures are typically processed by the system, resulting in these events.

Procedures

Method: touchpad-event:get-deltas self ⇒ dx dy
Method: get-deltas self ⇒ dx dy

Extracts delta information from a touchpad event.

self

Passed: a <GdkTouchpadEvent>.

a touchpad event

dx

Returned: a real number.

return location for x

dy

Returned: a real number.

return location for y

Method: touchpad-event:get-gesture-phase self ⇒ %return
Method: get-gesture-phase self ⇒ %return

Extracts the touchpad gesture phase from a touchpad event.

self

Passed: a <GdkTouchpadEvent>.

a touchpad event

%return

Returned: a <GdkTouchpadGesturePhase>.

the gesture phase of self

Method: touchpad-event:get-n-fingers self ⇒ %return
Method: get-n-fingers self ⇒ %return

Extracts the number of fingers from a touchpad event.

self

Passed: a <GdkTouchpadEvent>.

a touchpad event

%return

Returned: an unsigned 32-bit integer.

the number of fingers for self

Method: touchpad-event:get-pinch-angle-delta self ⇒ %return
Method: get-pinch-angle-delta self ⇒ %return

Extracts the angle delta from a touchpad pinch event.

self

Passed: a <GdkTouchpadEvent>.

a touchpad pinch event

%return

Returned: a real number.

the angle delta of self

Method: touchpad-event:get-pinch-scale self ⇒ %return
Method: get-pinch-scale self ⇒ %return

Extracts the scale from a touchpad pinch event.

self

Passed: a <GdkTouchpadEvent>.

a touchpad pinch event

%return

Returned: a real number.

the scale of self