[][src]Module wayland_protocols::unstable::pointer_gestures::v1::client::zwp_pointer_gesture_pinch_v1

a pinch gesture object

A pinch gesture object notifies a client about a multi-finger pinch gesture detected on an indirect input device such as a touchpad. The gesture is usually initiated by multiple fingers moving towards each other or away from each other, or by two or more fingers rotating around a logical center of gravity. The precise conditions of when such a gesture is detected are implementation-dependent.

A gesture consists of three stages: begin, update (optional) and end. There cannot be multiple simultaneous pinch or swipe gestures on a same pointer/seat, how compositors prevent these situations is implementation-dependent.

A gesture may be cancelled by the compositor or the hardware. Clients should not consider performing permanent or irreversible actions until the end of a gesture has been received.

Structs

ZwpPointerGesturePinchV1

Enums

Event
Request

Constants

EVT_BEGIN_SINCE

The minimal object version supporting this event

EVT_END_SINCE

The minimal object version supporting this event

EVT_UPDATE_SINCE

The minimal object version supporting this event

REQ_DESTROY_SINCE

The minimal object version supporting this request

Statics

zwp_pointer_gesture_pinch_v1_events

C-representation of the messages of this interface, for interop

zwp_pointer_gesture_pinch_v1_interface

C representation of this interface, for interop

zwp_pointer_gesture_pinch_v1_requests

C-representation of the messages of this interface, for interop

Traits

EventHandler

An interface for handling events.