pub struct ZwpPointerGestureHoldV1 { /* private fields */ }Expand description
a hold gesture object
A hold gesture object notifies a client about a single- or multi-finger hold gesture detected on an indirect input device such as a touchpad. The gesture is usually initiated by one or more fingers being held down without significant movement. The precise conditions of when such a gesture is detected are implementation-dependent.
In particular, this gesture may be used to cancel kinetic scrolling.
A hold gesture consists of two stages: begin and end. Unlike pinch and swipe there is no update stage. There cannot be multiple simultaneous hold, 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.
See also the Event enum for this interface.
Implementations§
Trait Implementations§
Source§impl Borrow<ObjectId> for ZwpPointerGestureHoldV1
impl Borrow<ObjectId> for ZwpPointerGestureHoldV1
Source§impl Clone for ZwpPointerGestureHoldV1
impl Clone for ZwpPointerGestureHoldV1
Source§fn clone(&self) -> ZwpPointerGestureHoldV1
fn clone(&self) -> ZwpPointerGestureHoldV1
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ZwpPointerGestureHoldV1
impl Debug for ZwpPointerGestureHoldV1
impl Eq for ZwpPointerGestureHoldV1
Source§impl Hash for ZwpPointerGestureHoldV1
impl Hash for ZwpPointerGestureHoldV1
Source§impl PartialEq for ZwpPointerGestureHoldV1
impl PartialEq for ZwpPointerGestureHoldV1
Source§fn eq(&self, other: &ZwpPointerGestureHoldV1) -> bool
fn eq(&self, other: &ZwpPointerGestureHoldV1) -> bool
self and other values to be equal, and is used by ==.