gi-gdk-0.3.18.15: 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 %GDK_TOUCH_BEGIN, %GDK_TOUCH_UPDATE, %GDK_TOUCH_END or %GDK_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_TOUCH_BEGIN event, followed by any number of %GDK_TOUCH_UPDATE events, and ends with a %GDK_TOUCH_END (or %GDK_TOUCH_CANCEL) event. With multitouch devices, there may be several active sequences at the same time.

Synopsis

Exported types

newtype EventTouch Source

Instances

WrappedPtr EventTouch 
(~) AttrOpTag tag AttrSet => Constructible EventTouch tag 
((~) * info (ResolveEventTouchMethod t EventTouch), MethodInfo * info EventTouch p) => IsLabelProxy t (EventTouch -> p) 
type AttributeList EventTouch 

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