gi-gdk-3.0.6: 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

WrappedPtr EventScroll Source # 
(~) AttrOpTag tag AttrSet => Constructible EventScroll tag Source # 

Methods

new :: MonadIO m => (ForeignPtr EventScroll -> EventScroll) -> [AttrOp EventScroll tag] -> m EventScroll

((~) * 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 # 
HasAttributeList * EventScroll Source # 
type AttributeList EventScroll Source # 
type AttributeList EventScroll

newZeroEventScroll :: MonadIO m => m EventScroll Source #

Construct a EventScroll struct initialized to zero.

Properties

DeltaX

eventScrollDeltaX :: AttrLabelProxy "deltaX" Source #

DeltaY

eventScrollDeltaY :: AttrLabelProxy "deltaY" Source #

Device

eventScrollDevice :: AttrLabelProxy "device" Source #

Direction

eventScrollDirection :: AttrLabelProxy "direction" Source #

IsStop

eventScrollIsStop :: AttrLabelProxy "isStop" Source #

SendEvent

eventScrollSendEvent :: AttrLabelProxy "sendEvent" Source #

State

eventScrollState :: AttrLabelProxy "state" Source #

Time

eventScrollTime :: AttrLabelProxy "time" Source #

Type

eventScrollType :: AttrLabelProxy "type" Source #

Window

eventScrollWindow :: AttrLabelProxy "window" Source #

X

eventScrollX :: AttrLabelProxy "x" Source #

XRoot

eventScrollXRoot :: AttrLabelProxy "xRoot" Source #

Y

eventScrollY :: AttrLabelProxy "y" Source #

YRoot

eventScrollYRoot :: AttrLabelProxy "yRoot" Source #