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

Constructors

MotionEvent (ManagedPtr MotionEvent) 

Instances

Instances details
Eq MotionEvent Source # 
Instance details

Defined in GI.Gdk.Objects.MotionEvent

BoxedPtr MotionEvent Source # 
Instance details

Defined in GI.Gdk.Objects.MotionEvent

ManagedPtrNewtype MotionEvent Source # 
Instance details

Defined in GI.Gdk.Objects.MotionEvent

Methods

toManagedPtr :: MotionEvent -> ManagedPtr MotionEvent

TypedObject MotionEvent Source # 
Instance details

Defined in GI.Gdk.Objects.MotionEvent

Methods

glibType :: IO GType

HasParentTypes MotionEvent Source # 
Instance details

Defined in GI.Gdk.Objects.MotionEvent

type ParentTypes MotionEvent Source # 
Instance details

Defined in GI.Gdk.Objects.MotionEvent

type ParentTypes MotionEvent = '[Event]

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.