Class (GI Struct)

Gdk-3.0GdkEventTouch

Used for touch events. type field will be one of Gdk.EventType.TOUCH_BEGIN, Gdk.EventType.TOUCH_UPDATE, Gdk.EventType.TOUCH_END or Gdk.EventType.TOUCH_CANCEL.

Touch events are grouped into sequences by means of the sequence field, which can also be obtained with gdk_event_get_event_sequence(). Each sequence begins with a Gdk.EventType.TOUCH_BEGIN event, followed by any number of Gdk.EventType.TOUCH_UPDATE events, and ends with a Gdk.EventType.TOUCH_END (or Gdk.EventType.TOUCH_CANCEL) event. With multitouch devices, there may be several active sequences at the same time.

Index

Constructors

Properties

axes: number
device: Gdk.Device
emulating_pointer: boolean
send_event: number
time: number
window: Gdk.Window
x: number
x_root: number
y: number
y_root: number
$gtype: GType<EventTouch>