Copyright | Will Thompson and Iñaki García Etxebarria |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
An event related to a pointer or touch device motion.
Synopsis
- newtype MotionEvent = MotionEvent (ManagedPtr MotionEvent)
- class (BoxedPtr o, TypedObject o, IsDescendantOf MotionEvent o) => IsMotionEvent o
- toMotionEvent :: (MonadIO m, IsMotionEvent o) => o -> m MotionEvent
Exported types
newtype MotionEvent Source #
Memory-managed wrapper type.
Instances
Eq MotionEvent Source # | |
Defined in GI.Gdk.Objects.MotionEvent (==) :: MotionEvent -> MotionEvent -> Bool # (/=) :: MotionEvent -> MotionEvent -> Bool # | |
BoxedPtr MotionEvent Source # | |
Defined in GI.Gdk.Objects.MotionEvent boxedPtrCopy :: MotionEvent -> IO MotionEvent # boxedPtrFree :: MotionEvent -> IO () # | |
ManagedPtrNewtype MotionEvent Source # | |
Defined in GI.Gdk.Objects.MotionEvent | |
TypedObject MotionEvent Source # | |
Defined in GI.Gdk.Objects.MotionEvent | |
HasParentTypes MotionEvent Source # | |
Defined in GI.Gdk.Objects.MotionEvent | |
type ParentTypes MotionEvent Source # | |
Defined in GI.Gdk.Objects.MotionEvent |
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
(BoxedPtr o, TypedObject o, IsDescendantOf MotionEvent o) => IsMotionEvent o Source # | |
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
Methods
ref, triggersContextMenu, unref.
Getters
getAxes, getAxis, getDevice, getDeviceTool, getDisplay, getEventSequence, getEventType, getHistory, getModifierState, getPointerEmulated, getPosition, getSeat, getSurface, getTime.
Setters
None.