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 from button presses for the buttons 4 to 7. Wheel mice are usually configured to generate button press events for buttons 4 and 5 when the wheel is turned.
Some GDK backends can also generate “smooth” scroll events, which can be recognized by the %GDK_SCROLL_SMOOTH scroll direction. For these, the scroll deltas can be obtained with gdk_event_get_scroll_deltas().
- newtype EventScroll = EventScroll (ForeignPtr EventScroll)
- noEventScroll :: Maybe EventScroll
- eventScrollReadDeltaX :: EventScroll -> IO Double
- eventScrollReadDeltaY :: EventScroll -> IO Double
- eventScrollReadDevice :: EventScroll -> IO Device
- eventScrollReadDirection :: EventScroll -> IO ScrollDirection
- eventScrollReadSendEvent :: EventScroll -> IO Int8
- eventScrollReadState :: EventScroll -> IO [ModifierType]
- eventScrollReadTime :: EventScroll -> IO Word32
- eventScrollReadType :: EventScroll -> IO EventType
- eventScrollReadWindow :: EventScroll -> IO Window
- eventScrollReadX :: EventScroll -> IO Double
- eventScrollReadXRoot :: EventScroll -> IO Double
- eventScrollReadY :: EventScroll -> IO Double
- eventScrollReadYRoot :: EventScroll -> IO Double
Exported types
newtype EventScroll Source