gi-gdk-3.0.11: Gdk bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Structs.EventTouch

Contents

Description

Used for touch events. type field will be one of EventTypeTouchBegin, EventTypeTouchUpdate, EventTypeTouchEnd or EventTypeTouchCancel.

Touch events are grouped into sequences by means of the sequence field, which can also be obtained with eventGetEventSequence. Each sequence begins with a EventTypeTouchBegin event, followed by any number of EventTypeTouchUpdate events, and ends with a EventTypeTouchEnd (or EventTypeTouchCancel) event. With multitouch devices, there may be several active sequences at the same time.

Synopsis

Exported types

newZeroEventTouch :: MonadIO m => m EventTouch Source #

Construct a EventTouch struct initialized to zero.

Properties

axes

device

emulatingPointer

sendEvent

sequence

state

time

type

window

x

xRoot

y

yRoot