gi-gdk-4.0.4: Gdk bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.Gdk.Objects.MotionEvent

Description

An event related to a pointer or touch device motion.

Synopsis

Exported types

newtype MotionEvent Source #

Memory-managed wrapper type.

class (BoxedPtr o, TypedObject o, IsDescendantOf MotionEvent o) => IsMotionEvent o Source #

Type class for types which can be safely cast to MotionEvent, for instance with toMotionEvent.

Instances

Instances details
(BoxedPtr o, TypedObject o, IsDescendantOf MotionEvent o) => IsMotionEvent o Source # 
Instance details

Defined in GI.Gdk.Objects.MotionEvent

toMotionEvent :: (MonadIO m, IsMotionEvent o) => o -> m MotionEvent Source #

Cast to MotionEvent, for types for which this is known to be safe. For general casts, use castTo.

Methods

Click to display all available methods, including inherited ones

Expand

Methods

ref, triggersContextMenu, unref.

Getters

getAxes, getAxis, getDevice, getDeviceTool, getDisplay, getEventSequence, getEventType, getHistory, getModifierState, getPointerEmulated, getPosition, getSeat, getSurface, getTime.

Setters

None.