gi-gdk-3.0.10: 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 #

Constructors

EventScroll (ManagedPtr EventScroll) 

Instances

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

Methods

new :: MonadIO m => (ManagedPtr 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

eventScroll_deltaX :: AttrLabelProxy "deltaX" Source #

deltaY

eventScroll_deltaY :: AttrLabelProxy "deltaY" Source #

device

eventScroll_device :: AttrLabelProxy "device" Source #

direction

eventScroll_direction :: AttrLabelProxy "direction" Source #

isStop

eventScroll_isStop :: AttrLabelProxy "isStop" Source #

sendEvent

eventScroll_sendEvent :: AttrLabelProxy "sendEvent" Source #

state

eventScroll_state :: AttrLabelProxy "state" Source #

time

eventScroll_time :: AttrLabelProxy "time" Source #

type

eventScroll_type :: AttrLabelProxy "type" Source #

window

eventScroll_window :: AttrLabelProxy "window" Source #

x

eventScroll_x :: AttrLabelProxy "x" Source #

xRoot

eventScroll_xRoot :: AttrLabelProxy "xRoot" Source #

y

eventScroll_y :: AttrLabelProxy "y" Source #

yRoot

eventScroll_yRoot :: AttrLabelProxy "yRoot" Source #