gi-gdk-0.3.18.13: 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 %GDK_SCROLL_SMOOTH scroll direction. For these, the scroll deltas can be obtained with gdk_event_get_scroll_deltas().

Synopsis

Exported types

newtype EventScroll Source

Instances

((~) * info (ResolveEventScrollMethod t EventScroll), MethodInfo * info EventScroll p) => IsLabel t (EventScroll -> p) Source 

Methods

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

((~) * info (ResolveEventScrollMethod t EventScroll), MethodInfo * info EventScroll p) => IsLabelProxy t (EventScroll -> p) Source 

newZeroEventScroll :: MonadIO m => m EventScroll Source

Construct a EventScroll struct initialized to zero.

Properties

DeltaX

DeltaY

Device

Direction

SendEvent

State

Time

Type

Window

X

XRoot

Y

YRoot