Gjsify LogoGjsify Logo

Used for touch events.

The type field will be one of %CLUTTER_TOUCH_BEGIN, %CLUTTER_TOUCH_END, %CLUTTER_TOUCH_UPDATE, or %CLUTTER_TOUCH_CANCEL.

Touch events are grouped into sequences; each touch sequence will begin with a %CLUTTER_TOUCH_BEGIN event, progress with %CLUTTER_TOUCH_UPDATE events, and end either with a %CLUTTER_TOUCH_END event or with a %CLUTTER_TOUCH_CANCEL event.

With multi-touch capable devices there can be multiple event sequence running at the same time.

record

Hierarchy

  • TouchEvent

Index

Constructors

Properties

axes: number

reserved

field
device: InputDevice

the device that originated the event. If you want the physical device the event originated from, use clutter_event_get_source_device()

field
flags: EventFlags

event flags

field
modifierState: Clutter.ModifierType

a bit-mask representing the state of modifier keys (e.g. Control, Shift, and Alt) and the pointer buttons. See #ClutterModifierType

field

the event sequence that this event belongs to

field
source: Clutter.Actor

event source actor (unused)

field
stage: Clutter.Stage

event source stage

field
time: number

event time

field

event type

field
x: number

the X coordinate of the pointer, relative to the stage

field
y: number

the Y coordinate of the pointer, relative to the stage

field
name: string

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method