[][src]Module wayland_raw_protocol_bindings::client::pointer_gestures_unstable_v1::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.

Enums

zwp_pointer_gesture_pinch_v1

Statics

zwp_pointer_gesture_pinch_v1_requests

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

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

Traits

zwp_pointer_gesture_pinch_v1_listener

An interface for handling events.

Functions

zwp_pointer_gesture_pinch_v1_set_user_data
zwp_pointer_gesture_pinch_v1_get_user_data
zwp_pointer_gesture_pinch_v1_get_version
zwp_pointer_gesture_pinch_v1_add_listener
zwp_pointer_gesture_pinch_v1_add_rust_listener
zwp_pointer_gesture_pinch_v1_destroy

destroy the pinch gesture object