Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
Generated when the pointer moves.
- newtype EventMotion = EventMotion (ForeignPtr EventMotion)
- newZeroEventMotion :: MonadIO m => m EventMotion
- noEventMotion :: Maybe EventMotion
- eventMotionAxes :: AttrLabelProxy "axes"
- eventMotionReadAxes :: MonadIO m => EventMotion -> m Double
- eventMotionWriteAxes :: MonadIO m => EventMotion -> Double -> m ()
- eventMotionClearDevice :: MonadIO m => EventMotion -> m ()
- eventMotionDevice :: AttrLabelProxy "device"
- eventMotionReadDevice :: MonadIO m => EventMotion -> m (Maybe Device)
- eventMotionWriteDevice :: MonadIO m => EventMotion -> Ptr Device -> m ()
- eventMotionIsHint :: AttrLabelProxy "isHint"
- eventMotionReadIsHint :: MonadIO m => EventMotion -> m Int16
- eventMotionWriteIsHint :: MonadIO m => EventMotion -> Int16 -> m ()
- eventMotionReadSendEvent :: MonadIO m => EventMotion -> m Int8
- eventMotionSendEvent :: AttrLabelProxy "sendEvent"
- eventMotionWriteSendEvent :: MonadIO m => EventMotion -> Int8 -> m ()
- eventMotionReadState :: MonadIO m => EventMotion -> m [ModifierType]
- eventMotionState :: AttrLabelProxy "state"
- eventMotionWriteState :: MonadIO m => EventMotion -> [ModifierType] -> m ()
- eventMotionReadTime :: MonadIO m => EventMotion -> m Word32
- eventMotionTime :: AttrLabelProxy "time"
- eventMotionWriteTime :: MonadIO m => EventMotion -> Word32 -> m ()
- eventMotionReadType :: MonadIO m => EventMotion -> m EventType
- eventMotionType :: AttrLabelProxy "type"
- eventMotionWriteType :: MonadIO m => EventMotion -> EventType -> m ()
- eventMotionClearWindow :: MonadIO m => EventMotion -> m ()
- eventMotionReadWindow :: MonadIO m => EventMotion -> m (Maybe Window)
- eventMotionWindow :: AttrLabelProxy "window"
- eventMotionWriteWindow :: MonadIO m => EventMotion -> Ptr Window -> m ()
- eventMotionReadX :: MonadIO m => EventMotion -> m Double
- eventMotionWriteX :: MonadIO m => EventMotion -> Double -> m ()
- eventMotionX :: AttrLabelProxy "x"
- eventMotionReadXRoot :: MonadIO m => EventMotion -> m Double
- eventMotionWriteXRoot :: MonadIO m => EventMotion -> Double -> m ()
- eventMotionXRoot :: AttrLabelProxy "xRoot"
- eventMotionReadY :: MonadIO m => EventMotion -> m Double
- eventMotionWriteY :: MonadIO m => EventMotion -> Double -> m ()
- eventMotionY :: AttrLabelProxy "y"
- eventMotionReadYRoot :: MonadIO m => EventMotion -> m Double
- eventMotionWriteYRoot :: MonadIO m => EventMotion -> Double -> m ()
- eventMotionYRoot :: AttrLabelProxy "yRoot"
Exported types
newtype EventMotion Source
(~) AttrOpTag tag AttrSet => Constructible EventMotion tag | |
((~) * info (ResolveEventMotionMethod t EventMotion), MethodInfo * info EventMotion p) => IsLabelProxy t (EventMotion -> p) | |
type AttributeList EventMotion |
newZeroEventMotion :: MonadIO m => m EventMotion Source
Construct a EventMotion
struct initialized to zero.
Properties
Axes
eventMotionAxes :: AttrLabelProxy "axes" Source
eventMotionReadAxes :: MonadIO m => EventMotion -> m Double Source
eventMotionWriteAxes :: MonadIO m => EventMotion -> Double -> m () Source
Device
eventMotionClearDevice :: MonadIO m => EventMotion -> m () Source
eventMotionDevice :: AttrLabelProxy "device" Source
eventMotionReadDevice :: MonadIO m => EventMotion -> m (Maybe Device) Source
eventMotionWriteDevice :: MonadIO m => EventMotion -> Ptr Device -> m () Source
IsHint
eventMotionIsHint :: AttrLabelProxy "isHint" Source
eventMotionReadIsHint :: MonadIO m => EventMotion -> m Int16 Source
eventMotionWriteIsHint :: MonadIO m => EventMotion -> Int16 -> m () Source
SendEvent
eventMotionReadSendEvent :: MonadIO m => EventMotion -> m Int8 Source
eventMotionSendEvent :: AttrLabelProxy "sendEvent" Source
eventMotionWriteSendEvent :: MonadIO m => EventMotion -> Int8 -> m () Source
State
eventMotionReadState :: MonadIO m => EventMotion -> m [ModifierType] Source
eventMotionState :: AttrLabelProxy "state" Source
eventMotionWriteState :: MonadIO m => EventMotion -> [ModifierType] -> m () Source
Time
eventMotionReadTime :: MonadIO m => EventMotion -> m Word32 Source
eventMotionTime :: AttrLabelProxy "time" Source
eventMotionWriteTime :: MonadIO m => EventMotion -> Word32 -> m () Source
Type
eventMotionReadType :: MonadIO m => EventMotion -> m EventType Source
eventMotionType :: AttrLabelProxy "type" Source
eventMotionWriteType :: MonadIO m => EventMotion -> EventType -> m () Source
Window
eventMotionClearWindow :: MonadIO m => EventMotion -> m () Source
eventMotionReadWindow :: MonadIO m => EventMotion -> m (Maybe Window) Source
eventMotionWindow :: AttrLabelProxy "window" Source
eventMotionWriteWindow :: MonadIO m => EventMotion -> Ptr Window -> m () Source
X
eventMotionReadX :: MonadIO m => EventMotion -> m Double Source
eventMotionWriteX :: MonadIO m => EventMotion -> Double -> m () Source
eventMotionX :: AttrLabelProxy "x" Source
XRoot
eventMotionReadXRoot :: MonadIO m => EventMotion -> m Double Source
eventMotionWriteXRoot :: MonadIO m => EventMotion -> Double -> m () Source
eventMotionXRoot :: AttrLabelProxy "xRoot" Source
Y
eventMotionReadY :: MonadIO m => EventMotion -> m Double Source
eventMotionWriteY :: MonadIO m => EventMotion -> Double -> m () Source
eventMotionY :: AttrLabelProxy "y" Source
YRoot
eventMotionReadYRoot :: MonadIO m => EventMotion -> m Double Source
eventMotionWriteYRoot :: MonadIO m => EventMotion -> Double -> m () Source
eventMotionYRoot :: AttrLabelProxy "yRoot" Source