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.EventProximity

Contents

Description

Proximity events are generated when using GDK’s wrapper for the XInput extension. The XInput extension is an add-on for standard X that allows you to use nonstandard devices such as graphics tablets. A proximity event indicates that the stylus has moved in or out of contact with the tablet, or perhaps that the user’s finger has moved in or out of contact with a touch screen.

This event type will be used pretty rarely. It only is important for XInput aware programs that are drawing their own cursor.

Synopsis

Exported types

newtype EventProximity Source #

Constructors

EventProximity (ManagedPtr EventProximity) 

Instances

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

Methods

new :: MonadIO m => (ManagedPtr EventProximity -> EventProximity) -> [AttrOp EventProximity tag] -> m EventProximity

((~) * info (ResolveEventProximityMethod t EventProximity), MethodInfo * info EventProximity p) => IsLabel t (EventProximity -> p) Source # 

Methods

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

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

newZeroEventProximity :: MonadIO m => m EventProximity Source #

Construct a EventProximity struct initialized to zero.

Properties

device

eventProximity_device :: AttrLabelProxy "device" Source #

sendEvent

eventProximity_sendEvent :: AttrLabelProxy "sendEvent" Source #

time

eventProximity_time :: AttrLabelProxy "time" Source #

type

eventProximity_type :: AttrLabelProxy "type" Source #

window

eventProximity_window :: AttrLabelProxy "window" Source #