{-# LANGUAGE TypeApplications #-}
#if (MIN_VERSION_haskell_gi_overloading(1,0,0) && !defined(__HADDOCK_VERSION__))
#define ENABLE_OVERLOADING
#endif
module GI.Gdk.Structs.EventMotion
(
EventMotion(..) ,
newZeroEventMotion ,
noEventMotion ,
#if defined(ENABLE_OVERLOADING)
ResolveEventMotionMethod ,
#endif
#if defined(ENABLE_OVERLOADING)
eventMotion_axes ,
#endif
getEventMotionAxes ,
setEventMotionAxes ,
clearEventMotionDevice ,
#if defined(ENABLE_OVERLOADING)
eventMotion_device ,
#endif
getEventMotionDevice ,
setEventMotionDevice ,
#if defined(ENABLE_OVERLOADING)
eventMotion_isHint ,
#endif
getEventMotionIsHint ,
setEventMotionIsHint ,
#if defined(ENABLE_OVERLOADING)
eventMotion_sendEvent ,
#endif
getEventMotionSendEvent ,
setEventMotionSendEvent ,
#if defined(ENABLE_OVERLOADING)
eventMotion_state ,
#endif
getEventMotionState ,
setEventMotionState ,
#if defined(ENABLE_OVERLOADING)
eventMotion_time ,
#endif
getEventMotionTime ,
setEventMotionTime ,
#if defined(ENABLE_OVERLOADING)
eventMotion_type ,
#endif
getEventMotionType ,
setEventMotionType ,
clearEventMotionWindow ,
#if defined(ENABLE_OVERLOADING)
eventMotion_window ,
#endif
getEventMotionWindow ,
setEventMotionWindow ,
#if defined(ENABLE_OVERLOADING)
eventMotion_x ,
#endif
getEventMotionX ,
setEventMotionX ,
#if defined(ENABLE_OVERLOADING)
eventMotion_xRoot ,
#endif
getEventMotionXRoot ,
setEventMotionXRoot ,
#if defined(ENABLE_OVERLOADING)
eventMotion_y ,
#endif
getEventMotionY ,
setEventMotionY ,
#if defined(ENABLE_OVERLOADING)
eventMotion_yRoot ,
#endif
getEventMotionYRoot ,
setEventMotionYRoot ,
) where
import Data.GI.Base.ShortPrelude
import qualified Data.GI.Base.ShortPrelude as SP
import qualified Data.GI.Base.Overloading as O
import qualified Prelude as P
import qualified Data.GI.Base.Attributes as GI.Attributes
import qualified Data.GI.Base.ManagedPtr as B.ManagedPtr
import qualified Data.GI.Base.GClosure as B.GClosure
import qualified Data.GI.Base.GError as B.GError
import qualified Data.GI.Base.GVariant as B.GVariant
import qualified Data.GI.Base.GValue as B.GValue
import qualified Data.GI.Base.GParamSpec as B.GParamSpec
import qualified Data.GI.Base.CallStack as B.CallStack
import qualified Data.GI.Base.Properties as B.Properties
import qualified Data.GI.Base.Signals as B.Signals
import qualified Data.Text as T
import qualified Data.ByteString.Char8 as B
import qualified Data.Map as Map
import qualified Foreign.Ptr as FP
import qualified GHC.OverloadedLabels as OL
import {-# SOURCE #-} qualified GI.Gdk.Enums as Gdk.Enums
import {-# SOURCE #-} qualified GI.Gdk.Flags as Gdk.Flags
import {-# SOURCE #-} qualified GI.Gdk.Objects.Device as Gdk.Device
import {-# SOURCE #-} qualified GI.Gdk.Objects.Window as Gdk.Window
newtype EventMotion = EventMotion (ManagedPtr EventMotion)
deriving (Eq)
instance WrappedPtr EventMotion where
wrappedPtrCalloc = callocBytes 80
wrappedPtrCopy = \p -> withManagedPtr p (copyBytes 80 >=> wrapPtr EventMotion)
wrappedPtrFree = Just ptr_to_g_free
newZeroEventMotion :: MonadIO m => m EventMotion
newZeroEventMotion = liftIO $ wrappedPtrCalloc >>= wrapPtr EventMotion
instance tag ~ 'AttrSet => Constructible EventMotion tag where
new _ attrs = do
o <- newZeroEventMotion
GI.Attributes.set o attrs
return o
noEventMotion :: Maybe EventMotion
noEventMotion = Nothing
getEventMotionType :: MonadIO m => EventMotion -> m Gdk.Enums.EventType
getEventMotionType s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 0) :: IO CInt
let val' = (toEnum . fromIntegral) val
return val'
setEventMotionType :: MonadIO m => EventMotion -> Gdk.Enums.EventType -> m ()
setEventMotionType s val = liftIO $ withManagedPtr s $ \ptr -> do
let val' = (fromIntegral . fromEnum) val
poke (ptr `plusPtr` 0) (val' :: CInt)
#if defined(ENABLE_OVERLOADING)
data EventMotionTypeFieldInfo
instance AttrInfo EventMotionTypeFieldInfo where
type AttrBaseTypeConstraint EventMotionTypeFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionTypeFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionTypeFieldInfo = (~) Gdk.Enums.EventType
type AttrTransferTypeConstraint EventMotionTypeFieldInfo = (~)Gdk.Enums.EventType
type AttrTransferType EventMotionTypeFieldInfo = Gdk.Enums.EventType
type AttrGetType EventMotionTypeFieldInfo = Gdk.Enums.EventType
type AttrLabel EventMotionTypeFieldInfo = "type"
type AttrOrigin EventMotionTypeFieldInfo = EventMotion
attrGet = getEventMotionType
attrSet = setEventMotionType
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_type :: AttrLabelProxy "type"
eventMotion_type = AttrLabelProxy
#endif
getEventMotionWindow :: MonadIO m => EventMotion -> m (Maybe Gdk.Window.Window)
getEventMotionWindow s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 8) :: IO (Ptr Gdk.Window.Window)
result <- SP.convertIfNonNull val $ \val' -> do
val'' <- (newObject Gdk.Window.Window) val'
return val''
return result
setEventMotionWindow :: MonadIO m => EventMotion -> Ptr Gdk.Window.Window -> m ()
setEventMotionWindow s val = liftIO $ withManagedPtr s $ \ptr -> do
poke (ptr `plusPtr` 8) (val :: Ptr Gdk.Window.Window)
clearEventMotionWindow :: MonadIO m => EventMotion -> m ()
clearEventMotionWindow s = liftIO $ withManagedPtr s $ \ptr -> do
poke (ptr `plusPtr` 8) (FP.nullPtr :: Ptr Gdk.Window.Window)
#if defined(ENABLE_OVERLOADING)
data EventMotionWindowFieldInfo
instance AttrInfo EventMotionWindowFieldInfo where
type AttrBaseTypeConstraint EventMotionWindowFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionWindowFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint EventMotionWindowFieldInfo = (~) (Ptr Gdk.Window.Window)
type AttrTransferTypeConstraint EventMotionWindowFieldInfo = (~)(Ptr Gdk.Window.Window)
type AttrTransferType EventMotionWindowFieldInfo = (Ptr Gdk.Window.Window)
type AttrGetType EventMotionWindowFieldInfo = Maybe Gdk.Window.Window
type AttrLabel EventMotionWindowFieldInfo = "window"
type AttrOrigin EventMotionWindowFieldInfo = EventMotion
attrGet = getEventMotionWindow
attrSet = setEventMotionWindow
attrConstruct = undefined
attrClear = clearEventMotionWindow
attrTransfer _ v = do
return v
eventMotion_window :: AttrLabelProxy "window"
eventMotion_window = AttrLabelProxy
#endif
getEventMotionSendEvent :: MonadIO m => EventMotion -> m Int8
getEventMotionSendEvent s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 16) :: IO Int8
return val
setEventMotionSendEvent :: MonadIO m => EventMotion -> Int8 -> m ()
setEventMotionSendEvent s val = liftIO $ withManagedPtr s $ \ptr -> do
poke (ptr `plusPtr` 16) (val :: Int8)
#if defined(ENABLE_OVERLOADING)
data EventMotionSendEventFieldInfo
instance AttrInfo EventMotionSendEventFieldInfo where
type AttrBaseTypeConstraint EventMotionSendEventFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionSendEventFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionSendEventFieldInfo = (~) Int8
type AttrTransferTypeConstraint EventMotionSendEventFieldInfo = (~)Int8
type AttrTransferType EventMotionSendEventFieldInfo = Int8
type AttrGetType EventMotionSendEventFieldInfo = Int8
type AttrLabel EventMotionSendEventFieldInfo = "send_event"
type AttrOrigin EventMotionSendEventFieldInfo = EventMotion
attrGet = getEventMotionSendEvent
attrSet = setEventMotionSendEvent
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_sendEvent :: AttrLabelProxy "sendEvent"
eventMotion_sendEvent = AttrLabelProxy
#endif
getEventMotionTime :: MonadIO m => EventMotion -> m Word32
getEventMotionTime s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 20) :: IO Word32
return val
setEventMotionTime :: MonadIO m => EventMotion -> Word32 -> m ()
setEventMotionTime s val = liftIO $ withManagedPtr s $ \ptr -> do
poke (ptr `plusPtr` 20) (val :: Word32)
#if defined(ENABLE_OVERLOADING)
data EventMotionTimeFieldInfo
instance AttrInfo EventMotionTimeFieldInfo where
type AttrBaseTypeConstraint EventMotionTimeFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionTimeFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionTimeFieldInfo = (~) Word32
type AttrTransferTypeConstraint EventMotionTimeFieldInfo = (~)Word32
type AttrTransferType EventMotionTimeFieldInfo = Word32
type AttrGetType EventMotionTimeFieldInfo = Word32
type AttrLabel EventMotionTimeFieldInfo = "time"
type AttrOrigin EventMotionTimeFieldInfo = EventMotion
attrGet = getEventMotionTime
attrSet = setEventMotionTime
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_time :: AttrLabelProxy "time"
eventMotion_time = AttrLabelProxy
#endif
getEventMotionX :: MonadIO m => EventMotion -> m Double
getEventMotionX s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 24) :: IO CDouble
let val' = realToFrac val
return val'
setEventMotionX :: MonadIO m => EventMotion -> Double -> m ()
setEventMotionX s val = liftIO $ withManagedPtr s $ \ptr -> do
let val' = realToFrac val
poke (ptr `plusPtr` 24) (val' :: CDouble)
#if defined(ENABLE_OVERLOADING)
data EventMotionXFieldInfo
instance AttrInfo EventMotionXFieldInfo where
type AttrBaseTypeConstraint EventMotionXFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionXFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionXFieldInfo = (~) Double
type AttrTransferTypeConstraint EventMotionXFieldInfo = (~)Double
type AttrTransferType EventMotionXFieldInfo = Double
type AttrGetType EventMotionXFieldInfo = Double
type AttrLabel EventMotionXFieldInfo = "x"
type AttrOrigin EventMotionXFieldInfo = EventMotion
attrGet = getEventMotionX
attrSet = setEventMotionX
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_x :: AttrLabelProxy "x"
eventMotion_x = AttrLabelProxy
#endif
getEventMotionY :: MonadIO m => EventMotion -> m Double
getEventMotionY s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 32) :: IO CDouble
let val' = realToFrac val
return val'
setEventMotionY :: MonadIO m => EventMotion -> Double -> m ()
setEventMotionY s val = liftIO $ withManagedPtr s $ \ptr -> do
let val' = realToFrac val
poke (ptr `plusPtr` 32) (val' :: CDouble)
#if defined(ENABLE_OVERLOADING)
data EventMotionYFieldInfo
instance AttrInfo EventMotionYFieldInfo where
type AttrBaseTypeConstraint EventMotionYFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionYFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionYFieldInfo = (~) Double
type AttrTransferTypeConstraint EventMotionYFieldInfo = (~)Double
type AttrTransferType EventMotionYFieldInfo = Double
type AttrGetType EventMotionYFieldInfo = Double
type AttrLabel EventMotionYFieldInfo = "y"
type AttrOrigin EventMotionYFieldInfo = EventMotion
attrGet = getEventMotionY
attrSet = setEventMotionY
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_y :: AttrLabelProxy "y"
eventMotion_y = AttrLabelProxy
#endif
getEventMotionAxes :: MonadIO m => EventMotion -> m Double
getEventMotionAxes s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 40) :: IO CDouble
let val' = realToFrac val
return val'
setEventMotionAxes :: MonadIO m => EventMotion -> Double -> m ()
setEventMotionAxes s val = liftIO $ withManagedPtr s $ \ptr -> do
let val' = realToFrac val
poke (ptr `plusPtr` 40) (val' :: CDouble)
#if defined(ENABLE_OVERLOADING)
data EventMotionAxesFieldInfo
instance AttrInfo EventMotionAxesFieldInfo where
type AttrBaseTypeConstraint EventMotionAxesFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionAxesFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionAxesFieldInfo = (~) Double
type AttrTransferTypeConstraint EventMotionAxesFieldInfo = (~)Double
type AttrTransferType EventMotionAxesFieldInfo = Double
type AttrGetType EventMotionAxesFieldInfo = Double
type AttrLabel EventMotionAxesFieldInfo = "axes"
type AttrOrigin EventMotionAxesFieldInfo = EventMotion
attrGet = getEventMotionAxes
attrSet = setEventMotionAxes
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_axes :: AttrLabelProxy "axes"
eventMotion_axes = AttrLabelProxy
#endif
getEventMotionState :: MonadIO m => EventMotion -> m [Gdk.Flags.ModifierType]
getEventMotionState s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 48) :: IO CUInt
let val' = wordToGFlags val
return val'
setEventMotionState :: MonadIO m => EventMotion -> [Gdk.Flags.ModifierType] -> m ()
setEventMotionState s val = liftIO $ withManagedPtr s $ \ptr -> do
let val' = gflagsToWord val
poke (ptr `plusPtr` 48) (val' :: CUInt)
#if defined(ENABLE_OVERLOADING)
data EventMotionStateFieldInfo
instance AttrInfo EventMotionStateFieldInfo where
type AttrBaseTypeConstraint EventMotionStateFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionStateFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionStateFieldInfo = (~) [Gdk.Flags.ModifierType]
type AttrTransferTypeConstraint EventMotionStateFieldInfo = (~)[Gdk.Flags.ModifierType]
type AttrTransferType EventMotionStateFieldInfo = [Gdk.Flags.ModifierType]
type AttrGetType EventMotionStateFieldInfo = [Gdk.Flags.ModifierType]
type AttrLabel EventMotionStateFieldInfo = "state"
type AttrOrigin EventMotionStateFieldInfo = EventMotion
attrGet = getEventMotionState
attrSet = setEventMotionState
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_state :: AttrLabelProxy "state"
eventMotion_state = AttrLabelProxy
#endif
getEventMotionIsHint :: MonadIO m => EventMotion -> m Int16
getEventMotionIsHint s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 52) :: IO Int16
return val
setEventMotionIsHint :: MonadIO m => EventMotion -> Int16 -> m ()
setEventMotionIsHint s val = liftIO $ withManagedPtr s $ \ptr -> do
poke (ptr `plusPtr` 52) (val :: Int16)
#if defined(ENABLE_OVERLOADING)
data EventMotionIsHintFieldInfo
instance AttrInfo EventMotionIsHintFieldInfo where
type AttrBaseTypeConstraint EventMotionIsHintFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionIsHintFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionIsHintFieldInfo = (~) Int16
type AttrTransferTypeConstraint EventMotionIsHintFieldInfo = (~)Int16
type AttrTransferType EventMotionIsHintFieldInfo = Int16
type AttrGetType EventMotionIsHintFieldInfo = Int16
type AttrLabel EventMotionIsHintFieldInfo = "is_hint"
type AttrOrigin EventMotionIsHintFieldInfo = EventMotion
attrGet = getEventMotionIsHint
attrSet = setEventMotionIsHint
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_isHint :: AttrLabelProxy "isHint"
eventMotion_isHint = AttrLabelProxy
#endif
getEventMotionDevice :: MonadIO m => EventMotion -> m (Maybe Gdk.Device.Device)
getEventMotionDevice s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 56) :: IO (Ptr Gdk.Device.Device)
result <- SP.convertIfNonNull val $ \val' -> do
val'' <- (newObject Gdk.Device.Device) val'
return val''
return result
setEventMotionDevice :: MonadIO m => EventMotion -> Ptr Gdk.Device.Device -> m ()
setEventMotionDevice s val = liftIO $ withManagedPtr s $ \ptr -> do
poke (ptr `plusPtr` 56) (val :: Ptr Gdk.Device.Device)
clearEventMotionDevice :: MonadIO m => EventMotion -> m ()
clearEventMotionDevice s = liftIO $ withManagedPtr s $ \ptr -> do
poke (ptr `plusPtr` 56) (FP.nullPtr :: Ptr Gdk.Device.Device)
#if defined(ENABLE_OVERLOADING)
data EventMotionDeviceFieldInfo
instance AttrInfo EventMotionDeviceFieldInfo where
type AttrBaseTypeConstraint EventMotionDeviceFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionDeviceFieldInfo = '[ 'AttrSet, 'AttrGet, 'AttrClear]
type AttrSetTypeConstraint EventMotionDeviceFieldInfo = (~) (Ptr Gdk.Device.Device)
type AttrTransferTypeConstraint EventMotionDeviceFieldInfo = (~)(Ptr Gdk.Device.Device)
type AttrTransferType EventMotionDeviceFieldInfo = (Ptr Gdk.Device.Device)
type AttrGetType EventMotionDeviceFieldInfo = Maybe Gdk.Device.Device
type AttrLabel EventMotionDeviceFieldInfo = "device"
type AttrOrigin EventMotionDeviceFieldInfo = EventMotion
attrGet = getEventMotionDevice
attrSet = setEventMotionDevice
attrConstruct = undefined
attrClear = clearEventMotionDevice
attrTransfer _ v = do
return v
eventMotion_device :: AttrLabelProxy "device"
eventMotion_device = AttrLabelProxy
#endif
getEventMotionXRoot :: MonadIO m => EventMotion -> m Double
getEventMotionXRoot s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 64) :: IO CDouble
let val' = realToFrac val
return val'
setEventMotionXRoot :: MonadIO m => EventMotion -> Double -> m ()
setEventMotionXRoot s val = liftIO $ withManagedPtr s $ \ptr -> do
let val' = realToFrac val
poke (ptr `plusPtr` 64) (val' :: CDouble)
#if defined(ENABLE_OVERLOADING)
data EventMotionXRootFieldInfo
instance AttrInfo EventMotionXRootFieldInfo where
type AttrBaseTypeConstraint EventMotionXRootFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionXRootFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionXRootFieldInfo = (~) Double
type AttrTransferTypeConstraint EventMotionXRootFieldInfo = (~)Double
type AttrTransferType EventMotionXRootFieldInfo = Double
type AttrGetType EventMotionXRootFieldInfo = Double
type AttrLabel EventMotionXRootFieldInfo = "x_root"
type AttrOrigin EventMotionXRootFieldInfo = EventMotion
attrGet = getEventMotionXRoot
attrSet = setEventMotionXRoot
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_xRoot :: AttrLabelProxy "xRoot"
eventMotion_xRoot = AttrLabelProxy
#endif
getEventMotionYRoot :: MonadIO m => EventMotion -> m Double
getEventMotionYRoot s = liftIO $ withManagedPtr s $ \ptr -> do
val <- peek (ptr `plusPtr` 72) :: IO CDouble
let val' = realToFrac val
return val'
setEventMotionYRoot :: MonadIO m => EventMotion -> Double -> m ()
setEventMotionYRoot s val = liftIO $ withManagedPtr s $ \ptr -> do
let val' = realToFrac val
poke (ptr `plusPtr` 72) (val' :: CDouble)
#if defined(ENABLE_OVERLOADING)
data EventMotionYRootFieldInfo
instance AttrInfo EventMotionYRootFieldInfo where
type AttrBaseTypeConstraint EventMotionYRootFieldInfo = (~) EventMotion
type AttrAllowedOps EventMotionYRootFieldInfo = '[ 'AttrSet, 'AttrGet]
type AttrSetTypeConstraint EventMotionYRootFieldInfo = (~) Double
type AttrTransferTypeConstraint EventMotionYRootFieldInfo = (~)Double
type AttrTransferType EventMotionYRootFieldInfo = Double
type AttrGetType EventMotionYRootFieldInfo = Double
type AttrLabel EventMotionYRootFieldInfo = "y_root"
type AttrOrigin EventMotionYRootFieldInfo = EventMotion
attrGet = getEventMotionYRoot
attrSet = setEventMotionYRoot
attrConstruct = undefined
attrClear = undefined
attrTransfer _ v = do
return v
eventMotion_yRoot :: AttrLabelProxy "yRoot"
eventMotion_yRoot = AttrLabelProxy
#endif
#if defined(ENABLE_OVERLOADING)
instance O.HasAttributeList EventMotion
type instance O.AttributeList EventMotion = EventMotionAttributeList
type EventMotionAttributeList = ('[ '("type", EventMotionTypeFieldInfo), '("window", EventMotionWindowFieldInfo), '("sendEvent", EventMotionSendEventFieldInfo), '("time", EventMotionTimeFieldInfo), '("x", EventMotionXFieldInfo), '("y", EventMotionYFieldInfo), '("axes", EventMotionAxesFieldInfo), '("state", EventMotionStateFieldInfo), '("isHint", EventMotionIsHintFieldInfo), '("device", EventMotionDeviceFieldInfo), '("xRoot", EventMotionXRootFieldInfo), '("yRoot", EventMotionYRootFieldInfo)] :: [(Symbol, *)])
#endif
#if defined(ENABLE_OVERLOADING)
type family ResolveEventMotionMethod (t :: Symbol) (o :: *) :: * where
ResolveEventMotionMethod l o = O.MethodResolutionFailed l o
instance (info ~ ResolveEventMotionMethod t EventMotion, O.MethodInfo info EventMotion p) => OL.IsLabel t (EventMotion -> p) where
#if MIN_VERSION_base(4,10,0)
fromLabel = O.overloadedMethod @info
#else
fromLabel _ = O.overloadedMethod @info
#endif
#endif