pub enum ActiveGesture {
Idle,
Pending,
VerticalScroll(NodeId),
HorizontalScroll(NodeId),
RouteSwipe,
DirectDrag(NodeId),
ScrollbarDrag(NodeId),
TextSelection(NodeId),
Pinch,
}Expand description
Exclusive gesture owner currently holding the active pointer stream in GestureArena.
Variants§
Idle
No pointer gesture is currently active.
Pending
Primary contact began and stays within touch slop awaiting tap or directional disambiguation.
VerticalScroll(NodeId)
Exclusive vertical scroll ownership claimed by the target scrollable container.
HorizontalScroll(NodeId)
Exclusive horizontal scroll ownership claimed by the target scrollable container.
RouteSwipe
Exclusive horizontal route or page swipe gesture driving Context::swipe_drag_offset.
DirectDrag(NodeId)
Exclusive direct drag interaction claimed by a slider, drawer/sheet grabber, or canvas control.
ScrollbarDrag(NodeId)
Exclusive desktop scrollbar thumb drag claimed by a scroll container.
TextSelection(NodeId)
Exclusive pointer text-selection drag claimed by a selectable NodeKind::Text node.
Pinch
Active multi-touch pinch gesture involving two or more simultaneous contacts.