gi-gdk-3.0.10: 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 #

Constructors

EventTouch (ManagedPtr EventTouch) 

Instances

WrappedPtr EventTouch Source # 
(~) AttrOpTag tag AttrSet => Constructible EventTouch tag Source # 

Methods

new :: MonadIO m => (ManagedPtr 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

eventTouch_axes :: AttrLabelProxy "axes" Source #

device

eventTouch_device :: AttrLabelProxy "device" Source #

emulatingPointer

eventTouch_emulatingPointer :: AttrLabelProxy "emulatingPointer" Source #

sendEvent

eventTouch_sendEvent :: AttrLabelProxy "sendEvent" Source #

sequence

eventTouch_sequence :: AttrLabelProxy "sequence" Source #

state

eventTouch_state :: AttrLabelProxy "state" Source #

time

eventTouch_time :: AttrLabelProxy "time" Source #

type

eventTouch_type :: AttrLabelProxy "type" Source #

window

eventTouch_window :: AttrLabelProxy "window" Source #

x

eventTouch_x :: AttrLabelProxy "x" Source #

xRoot

eventTouch_xRoot :: AttrLabelProxy "xRoot" Source #

y

eventTouch_y :: AttrLabelProxy "y" Source #

yRoot

eventTouch_yRoot :: AttrLabelProxy "yRoot" Source #