gi-gdk-4.0.2: Gdk bindings
CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellNone
LanguageHaskell2010

GI.Gdk.Objects.MotionEvent

Description

No description available in the introspection data.

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

Overloaded methods

getHistory

motionEventGetHistory Source #

Arguments

:: (HasCallStack, MonadIO m, IsMotionEvent a) 
=> a

event: a motion Event

-> m (Maybe [TimeCoord])

Returns: an array of time and coordinates

Retrieves the history of the event motion, as a list of time and coordinates.