Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype TouchEvent = TouchEvent (ManagedPtr TouchEvent)
- class (BoxedPtr o, TypedObject o, IsDescendantOf TouchEvent o) => IsTouchEvent o
- toTouchEvent :: (MonadIO m, IsTouchEvent o) => o -> m TouchEvent
- touchEventGetEmulatingPointer :: (HasCallStack, MonadIO m, IsTouchEvent a) => a -> m Bool
Exported types
newtype TouchEvent Source #
Memory-managed wrapper type.
Instances
Eq TouchEvent Source # | |
Defined in GI.Gdk.Objects.TouchEvent (==) :: TouchEvent -> TouchEvent -> Bool # (/=) :: TouchEvent -> TouchEvent -> Bool # | |
ManagedPtrNewtype TouchEvent Source # | |
Defined in GI.Gdk.Objects.TouchEvent | |
BoxedPtr TouchEvent Source # | |
Defined in GI.Gdk.Objects.TouchEvent boxedPtrCopy :: TouchEvent -> IO TouchEvent # boxedPtrFree :: TouchEvent -> IO () # | |
TypedObject TouchEvent Source # | |
Defined in GI.Gdk.Objects.TouchEvent | |
HasParentTypes TouchEvent Source # | |
Defined in GI.Gdk.Objects.TouchEvent | |
type ParentTypes TouchEvent Source # | |
Defined in GI.Gdk.Objects.TouchEvent |
class (BoxedPtr o, TypedObject o, IsDescendantOf TouchEvent o) => IsTouchEvent o Source #
Type class for types which can be safely cast to TouchEvent
, for instance with toTouchEvent
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf TouchEvent o) => IsTouchEvent o Source # | |
Defined in GI.Gdk.Objects.TouchEvent |
toTouchEvent :: (MonadIO m, IsTouchEvent o) => o -> m TouchEvent Source #
Cast to TouchEvent
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
getEmulatingPointer
touchEventGetEmulatingPointer Source #
:: (HasCallStack, MonadIO m, IsTouchEvent a) | |
=> a |
|
-> m Bool | Returns: |
Extracts whether a touch event is emulating a pointer event.