Skip to main content

Module SelectionGestureEventOption

Module SelectionGestureEventOption 

Source

Constants§

BEHAVIORS
Selection behavior table: GhosttySelectionGestureBehaviors*.
GEOMETRY
Drag display geometry: GhosttySelectionGestureGeometry*. Required for DRAG and AUTOSCROLL_TICK.
MAX_VALUE
Viewport coordinate for an autoscroll tick: GhosttyPointCoordinate*. Required for AUTOSCROLL_TICK.
POSITION
Surface-space pointer position: GhosttySurfacePosition*.
RECTANGLE
Whether a drag or autoscroll tick should produce a rectangular selection: bool*.
REF
Grid reference under the pointer: GhosttyGridRef*.
REPEAT_DISTANCE
Maximum repeat-click distance in pixels: double*.
REPEAT_INTERVAL_NS
Maximum interval between repeat clicks in nanoseconds: uint64_t*.
TIME_NS
Optional monotonic event time in nanoseconds: uint64_t*.
VIEWPORT
Viewport coordinate for an autoscroll tick: GhosttyPointCoordinate*. Required for AUTOSCROLL_TICK.
WORD_BOUNDARY_CODEPOINTS
Word-boundary codepoints: GhosttyCodepoints*.

Type Aliases§

Type
Options stored on a reusable selection gesture event.