Skip to main content

LongPressStartEvent

Start payload for an accepted long-press gesture.

Inherits: Event

Properties

  • global_position - The global position at which the pointer initially contacted the screen.
  • local_position - The local position at which the pointer initially contacted the screen.

Properties

global_positionclass-attributeinstance-attribute

global_position: Optional[Offset] = field(default=None, metadata={'data_field': 'g'})

The global position at which the pointer initially contacted the screen.

local_positionclass-attributeinstance-attribute

local_position: Optional[Offset] = field(default=None, metadata={'data_field': 'l'})

The local position at which the pointer initially contacted the screen.