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 |
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.
- newtype EventProximity = EventProximity (ForeignPtr EventProximity)
- newZeroEventProximity :: MonadIO m => m EventProximity
- noEventProximity :: Maybe EventProximity
- eventProximityReadDevice :: EventProximity -> IO Device
- eventProximityReadSendEvent :: EventProximity -> IO Int8
- eventProximityReadTime :: EventProximity -> IO Word32
- eventProximityReadType :: EventProximity -> IO EventType
- eventProximityReadWindow :: EventProximity -> IO Window
Exported types
newtype EventProximity Source
((~) * info (ResolveEventProximityMethod t EventProximity), MethodInfo * info EventProximity p) => IsLabel t (EventProximity -> p) Source | |
((~) * info (ResolveEventProximityMethod t EventProximity), MethodInfo * info EventProximity p) => IsLabelProxy t (EventProximity -> p) Source | |
newZeroEventProximity :: MonadIO m => m EventProximity Source
Construct a EventProximity
struct initialized to zero.