gi-gdk-3.0.6: 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 Source # 
(~) AttrOpTag tag AttrSet => Constructible EventTouch tag Source # 

Methods

new :: MonadIO m => (ForeignPtr EventTouch -> EventTouch) -> [AttrOp EventTouch tag] -> m EventTouch

((~) * info (ResolveEventTouchMethod t EventTouch), MethodInfo * info EventTouch p) => IsLabel t (EventTouch -> p) Source # 

Methods

fromLabel :: Proxy# Symbol t -> EventTouch -> p #

((~) * info (ResolveEventTouchMethod t EventTouch), MethodInfo * info EventTouch p) => IsLabelProxy t (EventTouch -> p) Source # 
HasAttributeList * EventTouch Source # 
type AttributeList EventTouch Source # 
type AttributeList EventTouch

newZeroEventTouch :: MonadIO m => m EventTouch Source #

Construct a EventTouch struct initialized to zero.

Properties

Axes

eventTouchAxes :: AttrLabelProxy "axes" Source #

Device

eventTouchDevice :: AttrLabelProxy "device" Source #

EmulatingPointer

eventTouchEmulatingPointer :: AttrLabelProxy "emulatingPointer" Source #

SendEvent

eventTouchSendEvent :: AttrLabelProxy "sendEvent" Source #

Sequence

eventTouchSequence :: AttrLabelProxy "sequence" Source #

State

eventTouchState :: AttrLabelProxy "state" Source #

Time

eventTouchTime :: AttrLabelProxy "time" Source #

Type

eventTouchType :: AttrLabelProxy "type" Source #

Window

eventTouchWindow :: AttrLabelProxy "window" Source #

X

eventTouchX :: AttrLabelProxy "x" Source #

XRoot

eventTouchXRoot :: AttrLabelProxy "xRoot" Source #

Y

eventTouchY :: AttrLabelProxy "y" Source #

YRoot

eventTouchYRoot :: AttrLabelProxy "yRoot" Source #