Copyright | Will Thompson, Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- Exported types
- Methods
- dOMMouseEventGetAltKey
- dOMMouseEventGetButton
- dOMMouseEventGetClientX
- dOMMouseEventGetClientY
- dOMMouseEventGetCtrlKey
- dOMMouseEventGetFromElement
- dOMMouseEventGetMetaKey
- dOMMouseEventGetOffsetX
- dOMMouseEventGetOffsetY
- dOMMouseEventGetRelatedTarget
- dOMMouseEventGetScreenX
- dOMMouseEventGetScreenY
- dOMMouseEventGetShiftKey
- dOMMouseEventGetToElement
- dOMMouseEventGetWebkitMovementX
- dOMMouseEventGetWebkitMovementY
- dOMMouseEventGetX
- dOMMouseEventGetY
- dOMMouseEventInitMouseEvent
- Properties
- newtype DOMMouseEvent = DOMMouseEvent (ForeignPtr DOMMouseEvent)
- class GObject o => DOMMouseEventK o
- toDOMMouseEvent :: DOMMouseEventK o => o -> IO DOMMouseEvent
- noDOMMouseEvent :: Maybe DOMMouseEvent
- dOMMouseEventGetAltKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool
- dOMMouseEventGetButton :: (MonadIO m, DOMMouseEventK a) => a -> m Word16
- dOMMouseEventGetClientX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetClientY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetCtrlKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool
- dOMMouseEventGetFromElement :: (MonadIO m, DOMMouseEventK a) => a -> m DOMNode
- dOMMouseEventGetMetaKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool
- dOMMouseEventGetOffsetX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetOffsetY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetRelatedTarget :: (MonadIO m, DOMMouseEventK a) => a -> m DOMEventTarget
- dOMMouseEventGetScreenX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetScreenY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetShiftKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool
- dOMMouseEventGetToElement :: (MonadIO m, DOMMouseEventK a) => a -> m DOMNode
- dOMMouseEventGetWebkitMovementX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetWebkitMovementY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventGetY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64
- dOMMouseEventInitMouseEvent :: (MonadIO m, DOMMouseEventK a, DOMDOMWindowK b, DOMEventTargetK c) => a -> Text -> Bool -> Bool -> b -> Int64 -> Int64 -> Int64 -> Int64 -> Int64 -> Bool -> Bool -> Bool -> Bool -> Word16 -> c -> m ()
- data DOMMouseEventAltKeyPropertyInfo
- getDOMMouseEventAltKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool
- data DOMMouseEventButtonPropertyInfo
- getDOMMouseEventButton :: (MonadIO m, DOMMouseEventK o) => o -> m Word32
- data DOMMouseEventClientXPropertyInfo
- getDOMMouseEventClientX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventClientYPropertyInfo
- getDOMMouseEventClientY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventCtrlKeyPropertyInfo
- getDOMMouseEventCtrlKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool
- data DOMMouseEventFromElementPropertyInfo
- getDOMMouseEventFromElement :: (MonadIO m, DOMMouseEventK o) => o -> m DOMNode
- data DOMMouseEventMetaKeyPropertyInfo
- getDOMMouseEventMetaKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool
- data DOMMouseEventOffsetXPropertyInfo
- getDOMMouseEventOffsetX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventOffsetYPropertyInfo
- getDOMMouseEventOffsetY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventRelatedTargetPropertyInfo
- getDOMMouseEventRelatedTarget :: (MonadIO m, DOMMouseEventK o) => o -> m DOMEventTarget
- data DOMMouseEventScreenXPropertyInfo
- getDOMMouseEventScreenX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventScreenYPropertyInfo
- getDOMMouseEventScreenY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventShiftKeyPropertyInfo
- getDOMMouseEventShiftKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool
- data DOMMouseEventToElementPropertyInfo
- getDOMMouseEventToElement :: (MonadIO m, DOMMouseEventK o) => o -> m DOMNode
- data DOMMouseEventWebkitMovementXPropertyInfo
- getDOMMouseEventWebkitMovementX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventWebkitMovementYPropertyInfo
- getDOMMouseEventWebkitMovementY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventXPropertyInfo
- getDOMMouseEventX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
- data DOMMouseEventYPropertyInfo
- getDOMMouseEventY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64
Exported types
newtype DOMMouseEvent Source
class GObject o => DOMMouseEventK o Source
(GObject o, IsDescendantOf DOMMouseEvent o) => DOMMouseEventK o |
toDOMMouseEvent :: DOMMouseEventK o => o -> IO DOMMouseEvent Source
Methods
dOMMouseEventGetAltKey
dOMMouseEventGetAltKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool Source
dOMMouseEventGetButton
dOMMouseEventGetButton :: (MonadIO m, DOMMouseEventK a) => a -> m Word16 Source
dOMMouseEventGetClientX
dOMMouseEventGetClientX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetClientY
dOMMouseEventGetClientY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetCtrlKey
dOMMouseEventGetCtrlKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool Source
dOMMouseEventGetFromElement
dOMMouseEventGetFromElement :: (MonadIO m, DOMMouseEventK a) => a -> m DOMNode Source
dOMMouseEventGetMetaKey
dOMMouseEventGetMetaKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool Source
dOMMouseEventGetOffsetX
dOMMouseEventGetOffsetX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetOffsetY
dOMMouseEventGetOffsetY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetRelatedTarget
dOMMouseEventGetRelatedTarget :: (MonadIO m, DOMMouseEventK a) => a -> m DOMEventTarget Source
dOMMouseEventGetScreenX
dOMMouseEventGetScreenX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetScreenY
dOMMouseEventGetScreenY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetShiftKey
dOMMouseEventGetShiftKey :: (MonadIO m, DOMMouseEventK a) => a -> m Bool Source
dOMMouseEventGetToElement
dOMMouseEventGetToElement :: (MonadIO m, DOMMouseEventK a) => a -> m DOMNode Source
dOMMouseEventGetWebkitMovementX
dOMMouseEventGetWebkitMovementX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetWebkitMovementY
dOMMouseEventGetWebkitMovementY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetX
dOMMouseEventGetX :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventGetY
dOMMouseEventGetY :: (MonadIO m, DOMMouseEventK a) => a -> m Int64 Source
dOMMouseEventInitMouseEvent
dOMMouseEventInitMouseEvent :: (MonadIO m, DOMMouseEventK a, DOMDOMWindowK b, DOMEventTargetK c) => a -> Text -> Bool -> Bool -> b -> Int64 -> Int64 -> Int64 -> Int64 -> Int64 -> Bool -> Bool -> Bool -> Bool -> Word16 -> c -> m () Source
Properties
AltKey
data DOMMouseEventAltKeyPropertyInfo Source
AttrInfo DOMMouseEventAltKeyPropertyInfo | |
type AttrLabel DOMMouseEventAltKeyPropertyInfo = "DOMMouseEvent::alt-key" | |
type AttrGetType DOMMouseEventAltKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMMouseEventAltKeyPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventAltKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventAltKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventAltKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool Source
Button
data DOMMouseEventButtonPropertyInfo Source
AttrInfo DOMMouseEventButtonPropertyInfo | |
type AttrLabel DOMMouseEventButtonPropertyInfo = "DOMMouseEvent::button" | |
type AttrGetType DOMMouseEventButtonPropertyInfo = Word32 | |
type AttrBaseTypeConstraint DOMMouseEventButtonPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventButtonPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventButtonPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventButton :: (MonadIO m, DOMMouseEventK o) => o -> m Word32 Source
ClientX
data DOMMouseEventClientXPropertyInfo Source
AttrInfo DOMMouseEventClientXPropertyInfo | |
type AttrLabel DOMMouseEventClientXPropertyInfo = "DOMMouseEvent::client-x" | |
type AttrGetType DOMMouseEventClientXPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventClientXPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventClientXPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventClientXPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventClientX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
ClientY
data DOMMouseEventClientYPropertyInfo Source
AttrInfo DOMMouseEventClientYPropertyInfo | |
type AttrLabel DOMMouseEventClientYPropertyInfo = "DOMMouseEvent::client-y" | |
type AttrGetType DOMMouseEventClientYPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventClientYPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventClientYPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventClientYPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventClientY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
CtrlKey
data DOMMouseEventCtrlKeyPropertyInfo Source
AttrInfo DOMMouseEventCtrlKeyPropertyInfo | |
type AttrLabel DOMMouseEventCtrlKeyPropertyInfo = "DOMMouseEvent::ctrl-key" | |
type AttrGetType DOMMouseEventCtrlKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMMouseEventCtrlKeyPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventCtrlKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventCtrlKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventCtrlKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool Source
FromElement
data DOMMouseEventFromElementPropertyInfo Source
AttrInfo DOMMouseEventFromElementPropertyInfo | |
type AttrLabel DOMMouseEventFromElementPropertyInfo = "DOMMouseEvent::from-element" | |
type AttrGetType DOMMouseEventFromElementPropertyInfo = DOMNode | |
type AttrBaseTypeConstraint DOMMouseEventFromElementPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventFromElementPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventFromElementPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventFromElement :: (MonadIO m, DOMMouseEventK o) => o -> m DOMNode Source
MetaKey
data DOMMouseEventMetaKeyPropertyInfo Source
AttrInfo DOMMouseEventMetaKeyPropertyInfo | |
type AttrLabel DOMMouseEventMetaKeyPropertyInfo = "DOMMouseEvent::meta-key" | |
type AttrGetType DOMMouseEventMetaKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMMouseEventMetaKeyPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventMetaKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventMetaKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventMetaKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool Source
OffsetX
data DOMMouseEventOffsetXPropertyInfo Source
AttrInfo DOMMouseEventOffsetXPropertyInfo | |
type AttrLabel DOMMouseEventOffsetXPropertyInfo = "DOMMouseEvent::offset-x" | |
type AttrGetType DOMMouseEventOffsetXPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventOffsetXPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventOffsetXPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventOffsetXPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventOffsetX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
OffsetY
data DOMMouseEventOffsetYPropertyInfo Source
AttrInfo DOMMouseEventOffsetYPropertyInfo | |
type AttrLabel DOMMouseEventOffsetYPropertyInfo = "DOMMouseEvent::offset-y" | |
type AttrGetType DOMMouseEventOffsetYPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventOffsetYPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventOffsetYPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventOffsetYPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventOffsetY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
RelatedTarget
data DOMMouseEventRelatedTargetPropertyInfo Source
AttrInfo DOMMouseEventRelatedTargetPropertyInfo | |
type AttrLabel DOMMouseEventRelatedTargetPropertyInfo = "DOMMouseEvent::related-target" | |
type AttrGetType DOMMouseEventRelatedTargetPropertyInfo = DOMEventTarget | |
type AttrBaseTypeConstraint DOMMouseEventRelatedTargetPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventRelatedTargetPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventRelatedTargetPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventRelatedTarget :: (MonadIO m, DOMMouseEventK o) => o -> m DOMEventTarget Source
ScreenX
data DOMMouseEventScreenXPropertyInfo Source
AttrInfo DOMMouseEventScreenXPropertyInfo | |
type AttrLabel DOMMouseEventScreenXPropertyInfo = "DOMMouseEvent::screen-x" | |
type AttrGetType DOMMouseEventScreenXPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventScreenXPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventScreenXPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventScreenXPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventScreenX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
ScreenY
data DOMMouseEventScreenYPropertyInfo Source
AttrInfo DOMMouseEventScreenYPropertyInfo | |
type AttrLabel DOMMouseEventScreenYPropertyInfo = "DOMMouseEvent::screen-y" | |
type AttrGetType DOMMouseEventScreenYPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventScreenYPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventScreenYPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventScreenYPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventScreenY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
ShiftKey
data DOMMouseEventShiftKeyPropertyInfo Source
AttrInfo DOMMouseEventShiftKeyPropertyInfo | |
type AttrLabel DOMMouseEventShiftKeyPropertyInfo = "DOMMouseEvent::shift-key" | |
type AttrGetType DOMMouseEventShiftKeyPropertyInfo = Bool | |
type AttrBaseTypeConstraint DOMMouseEventShiftKeyPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventShiftKeyPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventShiftKeyPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventShiftKey :: (MonadIO m, DOMMouseEventK o) => o -> m Bool Source
ToElement
data DOMMouseEventToElementPropertyInfo Source
AttrInfo DOMMouseEventToElementPropertyInfo | |
type AttrLabel DOMMouseEventToElementPropertyInfo = "DOMMouseEvent::to-element" | |
type AttrGetType DOMMouseEventToElementPropertyInfo = DOMNode | |
type AttrBaseTypeConstraint DOMMouseEventToElementPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventToElementPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventToElementPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventToElement :: (MonadIO m, DOMMouseEventK o) => o -> m DOMNode Source
WebkitMovementX
data DOMMouseEventWebkitMovementXPropertyInfo Source
AttrInfo DOMMouseEventWebkitMovementXPropertyInfo | |
type AttrLabel DOMMouseEventWebkitMovementXPropertyInfo = "DOMMouseEvent::webkit-movement-x" | |
type AttrGetType DOMMouseEventWebkitMovementXPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventWebkitMovementXPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventWebkitMovementXPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventWebkitMovementXPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventWebkitMovementX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
WebkitMovementY
data DOMMouseEventWebkitMovementYPropertyInfo Source
AttrInfo DOMMouseEventWebkitMovementYPropertyInfo | |
type AttrLabel DOMMouseEventWebkitMovementYPropertyInfo = "DOMMouseEvent::webkit-movement-y" | |
type AttrGetType DOMMouseEventWebkitMovementYPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventWebkitMovementYPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventWebkitMovementYPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventWebkitMovementYPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventWebkitMovementY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
X
data DOMMouseEventXPropertyInfo Source
AttrInfo DOMMouseEventXPropertyInfo | |
type AttrLabel DOMMouseEventXPropertyInfo = "DOMMouseEvent::x" | |
type AttrGetType DOMMouseEventXPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventXPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventXPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventXPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventX :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source
Y
data DOMMouseEventYPropertyInfo Source
AttrInfo DOMMouseEventYPropertyInfo | |
type AttrLabel DOMMouseEventYPropertyInfo = "DOMMouseEvent::y" | |
type AttrGetType DOMMouseEventYPropertyInfo = Int64 | |
type AttrBaseTypeConstraint DOMMouseEventYPropertyInfo = DOMMouseEventK | |
type AttrSetTypeConstraint DOMMouseEventYPropertyInfo = * ~ () | |
type AttrAllowedOps DOMMouseEventYPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) |
getDOMMouseEventY :: (MonadIO m, DOMMouseEventK o) => o -> m Int64 Source