gi-gdk-3.0.11: 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.EventScroll

Contents

Description

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 ScrollDirectionSmooth scroll direction. For these, the scroll deltas can be obtained with eventGetScrollDeltas.

Synopsis

Exported types

newZeroEventScroll :: MonadIO m => m EventScroll Source #

Construct a EventScroll struct initialized to zero.

Properties

deltaX

deltaY

device

direction

isStop

sendEvent

state

time

type

window

x

xRoot

y

yRoot