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 the proximity of a tool to a device.
Synopsis
- newtype ProximityEvent = ProximityEvent (ManagedPtr ProximityEvent)
- class (BoxedPtr o, TypedObject o, IsDescendantOf ProximityEvent o) => IsProximityEvent o
- toProximityEvent :: (MonadIO m, IsProximityEvent o) => o -> m ProximityEvent
Exported types
newtype ProximityEvent Source #
Memory-managed wrapper type.
Instances
Eq ProximityEvent Source # | |
Defined in GI.Gdk.Objects.ProximityEvent (==) :: ProximityEvent -> ProximityEvent -> Bool # (/=) :: ProximityEvent -> ProximityEvent -> Bool # | |
BoxedPtr ProximityEvent Source # | |
Defined in GI.Gdk.Objects.ProximityEvent boxedPtrCopy :: ProximityEvent -> IO ProximityEvent # boxedPtrFree :: ProximityEvent -> IO () # | |
ManagedPtrNewtype ProximityEvent Source # | |
Defined in GI.Gdk.Objects.ProximityEvent | |
TypedObject ProximityEvent Source # | |
Defined in GI.Gdk.Objects.ProximityEvent | |
HasParentTypes ProximityEvent Source # | |
Defined in GI.Gdk.Objects.ProximityEvent | |
type ParentTypes ProximityEvent Source # | |
Defined in GI.Gdk.Objects.ProximityEvent |
class (BoxedPtr o, TypedObject o, IsDescendantOf ProximityEvent o) => IsProximityEvent o Source #
Type class for types which can be safely cast to ProximityEvent
, for instance with toProximityEvent
.
Instances
(BoxedPtr o, TypedObject o, IsDescendantOf ProximityEvent o) => IsProximityEvent o Source # | |
Defined in GI.Gdk.Objects.ProximityEvent |
toProximityEvent :: (MonadIO m, IsProximityEvent o) => o -> m ProximityEvent Source #
Cast to ProximityEvent
, 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.