| 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 |
GI.WebKit.Objects.DOMEvent
Contents
- Exported types
- Methods
- dOMEventGetBubbles
- dOMEventGetCancelBubble
- dOMEventGetCancelable
- dOMEventGetCurrentTarget
- dOMEventGetDefaultPrevented
- dOMEventGetEventPhase
- dOMEventGetReturnValue
- dOMEventGetSrcElement
- dOMEventGetTarget
- dOMEventGetTimeStamp
- dOMEventInitEvent
- dOMEventPreventDefault
- dOMEventSetCancelBubble
- dOMEventSetReturnValue
- dOMEventStopImmediatePropagation
- dOMEventStopPropagation
- Properties
Description
- newtype DOMEvent = DOMEvent (ForeignPtr DOMEvent)
- class GObject o => DOMEventK o
- toDOMEvent :: DOMEventK o => o -> IO DOMEvent
- noDOMEvent :: Maybe DOMEvent
- data DOMEventGetBubblesMethodInfo
- dOMEventGetBubbles :: (MonadIO m, DOMEventK a) => a -> m Bool
- data DOMEventGetCancelBubbleMethodInfo
- dOMEventGetCancelBubble :: (MonadIO m, DOMEventK a) => a -> m Bool
- data DOMEventGetCancelableMethodInfo
- dOMEventGetCancelable :: (MonadIO m, DOMEventK a) => a -> m Bool
- data DOMEventGetCurrentTargetMethodInfo
- dOMEventGetCurrentTarget :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget
- data DOMEventGetDefaultPreventedMethodInfo
- dOMEventGetDefaultPrevented :: (MonadIO m, DOMEventK a) => a -> m Bool
- data DOMEventGetEventPhaseMethodInfo
- dOMEventGetEventPhase :: (MonadIO m, DOMEventK a) => a -> m Word16
- data DOMEventGetReturnValueMethodInfo
- dOMEventGetReturnValue :: (MonadIO m, DOMEventK a) => a -> m Bool
- data DOMEventGetSrcElementMethodInfo
- dOMEventGetSrcElement :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget
- data DOMEventGetTargetMethodInfo
- dOMEventGetTarget :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget
- data DOMEventGetTimeStampMethodInfo
- dOMEventGetTimeStamp :: (MonadIO m, DOMEventK a) => a -> m Word32
- data DOMEventInitEventMethodInfo
- dOMEventInitEvent :: (MonadIO m, DOMEventK a) => a -> Text -> Bool -> Bool -> m ()
- data DOMEventPreventDefaultMethodInfo
- dOMEventPreventDefault :: (MonadIO m, DOMEventK a) => a -> m ()
- data DOMEventSetCancelBubbleMethodInfo
- dOMEventSetCancelBubble :: (MonadIO m, DOMEventK a) => a -> Bool -> m ()
- data DOMEventSetReturnValueMethodInfo
- dOMEventSetReturnValue :: (MonadIO m, DOMEventK a) => a -> Bool -> m ()
- data DOMEventStopImmediatePropagationMethodInfo
- dOMEventStopImmediatePropagation :: (MonadIO m, DOMEventK a) => a -> m ()
- data DOMEventStopPropagationMethodInfo
- dOMEventStopPropagation :: (MonadIO m, DOMEventK a) => a -> m ()
- data DOMEventBubblesPropertyInfo
- dOMEventBubbles :: AttrLabelProxy "bubbles"
- getDOMEventBubbles :: (MonadIO m, DOMEventK o) => o -> m Bool
- data DOMEventCancelBubblePropertyInfo
- constructDOMEventCancelBubble :: Bool -> IO ([Char], GValue)
- dOMEventCancelBubble :: AttrLabelProxy "cancelBubble"
- getDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> m Bool
- setDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> Bool -> m ()
- data DOMEventCancelablePropertyInfo
- dOMEventCancelable :: AttrLabelProxy "cancelable"
- getDOMEventCancelable :: (MonadIO m, DOMEventK o) => o -> m Bool
- data DOMEventCurrentTargetPropertyInfo
- dOMEventCurrentTarget :: AttrLabelProxy "currentTarget"
- getDOMEventCurrentTarget :: (MonadIO m, DOMEventK o) => o -> m (Maybe DOMEventTarget)
- data DOMEventDefaultPreventedPropertyInfo
- dOMEventDefaultPrevented :: AttrLabelProxy "defaultPrevented"
- getDOMEventDefaultPrevented :: (MonadIO m, DOMEventK o) => o -> m Bool
- data DOMEventEventPhasePropertyInfo
- dOMEventEventPhase :: AttrLabelProxy "eventPhase"
- getDOMEventEventPhase :: (MonadIO m, DOMEventK o) => o -> m Word32
- data DOMEventReturnValuePropertyInfo
- constructDOMEventReturnValue :: Bool -> IO ([Char], GValue)
- dOMEventReturnValue :: AttrLabelProxy "returnValue"
- getDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> m Bool
- setDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> Bool -> m ()
- data DOMEventSrcElementPropertyInfo
- dOMEventSrcElement :: AttrLabelProxy "srcElement"
- getDOMEventSrcElement :: (MonadIO m, DOMEventK o) => o -> m (Maybe DOMEventTarget)
- data DOMEventTargetPropertyInfo
- dOMEventTarget :: AttrLabelProxy "target"
- getDOMEventTarget :: (MonadIO m, DOMEventK o) => o -> m (Maybe DOMEventTarget)
- data DOMEventTimeStampPropertyInfo
- dOMEventTimeStamp :: AttrLabelProxy "timeStamp"
- getDOMEventTimeStamp :: (MonadIO m, DOMEventK o) => o -> m Word32
- data DOMEventTypePropertyInfo
- dOMEventType :: AttrLabelProxy "type"
- getDOMEventType :: (MonadIO m, DOMEventK o) => o -> m (Maybe Text)
Exported types
Constructors
| DOMEvent (ForeignPtr DOMEvent) |
Instances
| GObject DOMEvent Source | |
| ((~) * info (ResolveDOMEventMethod t DOMEvent), MethodInfo * info DOMEvent p) => IsLabelProxy t (DOMEvent -> p) Source | |
| type ParentTypes DOMEvent Source | |
| type AttributeList DOMEvent Source | |
| type SignalList DOMEvent Source |
class GObject o => DOMEventK o Source
Instances
| (GObject o, IsDescendantOf DOMEvent o) => DOMEventK o Source |
toDOMEvent :: DOMEventK o => o -> IO DOMEvent Source
Methods
dOMEventGetBubbles
data DOMEventGetBubblesMethodInfo Source
Instances
| ((~) * signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetBubblesMethodInfo a signature Source |
dOMEventGetBubbles :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetCancelBubble
data DOMEventGetCancelBubbleMethodInfo Source
Instances
| ((~) * signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetCancelBubbleMethodInfo a signature Source |
dOMEventGetCancelBubble :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetCancelable
data DOMEventGetCancelableMethodInfo Source
Instances
| ((~) * signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetCancelableMethodInfo a signature Source |
dOMEventGetCancelable :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetCurrentTarget
data DOMEventGetCurrentTargetMethodInfo Source
Instances
| ((~) * signature (m DOMEventTarget), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetCurrentTargetMethodInfo a signature Source |
dOMEventGetCurrentTarget :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget Source
dOMEventGetDefaultPrevented
data DOMEventGetDefaultPreventedMethodInfo Source
Instances
| ((~) * signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetDefaultPreventedMethodInfo a signature Source |
dOMEventGetDefaultPrevented :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetEventPhase
data DOMEventGetEventPhaseMethodInfo Source
Instances
| ((~) * signature (m Word16), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetEventPhaseMethodInfo a signature Source |
dOMEventGetEventPhase :: (MonadIO m, DOMEventK a) => a -> m Word16 Source
dOMEventGetReturnValue
data DOMEventGetReturnValueMethodInfo Source
Instances
| ((~) * signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetReturnValueMethodInfo a signature Source |
dOMEventGetReturnValue :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetSrcElement
data DOMEventGetSrcElementMethodInfo Source
Instances
| ((~) * signature (m DOMEventTarget), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetSrcElementMethodInfo a signature Source |
dOMEventGetSrcElement :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget Source
dOMEventGetTarget
data DOMEventGetTargetMethodInfo Source
Instances
| ((~) * signature (m DOMEventTarget), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetTargetMethodInfo a signature Source |
dOMEventGetTarget :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget Source
dOMEventGetTimeStamp
data DOMEventGetTimeStampMethodInfo Source
Instances
| ((~) * signature (m Word32), MonadIO m, DOMEventK a) => MethodInfo * DOMEventGetTimeStampMethodInfo a signature Source |
dOMEventGetTimeStamp :: (MonadIO m, DOMEventK a) => a -> m Word32 Source
dOMEventInitEvent
data DOMEventInitEventMethodInfo Source
Instances
| ((~) * signature (Text -> Bool -> Bool -> m ()), MonadIO m, DOMEventK a) => MethodInfo * DOMEventInitEventMethodInfo a signature Source |
dOMEventPreventDefault
data DOMEventPreventDefaultMethodInfo Source
Instances
| ((~) * signature (m ()), MonadIO m, DOMEventK a) => MethodInfo * DOMEventPreventDefaultMethodInfo a signature Source |
dOMEventPreventDefault :: (MonadIO m, DOMEventK a) => a -> m () Source
dOMEventSetCancelBubble
data DOMEventSetCancelBubbleMethodInfo Source
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, DOMEventK a) => MethodInfo * DOMEventSetCancelBubbleMethodInfo a signature Source |
dOMEventSetCancelBubble :: (MonadIO m, DOMEventK a) => a -> Bool -> m () Source
dOMEventSetReturnValue
data DOMEventSetReturnValueMethodInfo Source
Instances
| ((~) * signature (Bool -> m ()), MonadIO m, DOMEventK a) => MethodInfo * DOMEventSetReturnValueMethodInfo a signature Source |
dOMEventSetReturnValue :: (MonadIO m, DOMEventK a) => a -> Bool -> m () Source
dOMEventStopImmediatePropagation
data DOMEventStopImmediatePropagationMethodInfo Source
Instances
| ((~) * signature (m ()), MonadIO m, DOMEventK a) => MethodInfo * DOMEventStopImmediatePropagationMethodInfo a signature Source |
dOMEventStopImmediatePropagation :: (MonadIO m, DOMEventK a) => a -> m () Source
dOMEventStopPropagation
data DOMEventStopPropagationMethodInfo Source
Instances
| ((~) * signature (m ()), MonadIO m, DOMEventK a) => MethodInfo * DOMEventStopPropagationMethodInfo a signature Source |
dOMEventStopPropagation :: (MonadIO m, DOMEventK a) => a -> m () Source
Properties
Bubbles
data DOMEventBubblesPropertyInfo Source
Instances
| AttrInfo DOMEventBubblesPropertyInfo Source | |
| type AttrLabel DOMEventBubblesPropertyInfo = "bubbles" Source | |
| type AttrGetType DOMEventBubblesPropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint DOMEventBubblesPropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventBubblesPropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventBubblesPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
dOMEventBubbles :: AttrLabelProxy "bubbles" Source
getDOMEventBubbles :: (MonadIO m, DOMEventK o) => o -> m Bool Source
CancelBubble
data DOMEventCancelBubblePropertyInfo Source
Instances
| AttrInfo DOMEventCancelBubblePropertyInfo Source | |
| type AttrLabel DOMEventCancelBubblePropertyInfo = "cancel-bubble" Source | |
| type AttrGetType DOMEventCancelBubblePropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint DOMEventCancelBubblePropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventCancelBubblePropertyInfo = * ~ Bool Source | |
| type AttrAllowedOps DOMEventCancelBubblePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
dOMEventCancelBubble :: AttrLabelProxy "cancelBubble" Source
getDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> m Bool Source
setDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> Bool -> m () Source
Cancelable
data DOMEventCancelablePropertyInfo Source
Instances
| AttrInfo DOMEventCancelablePropertyInfo Source | |
| type AttrLabel DOMEventCancelablePropertyInfo = "cancelable" Source | |
| type AttrGetType DOMEventCancelablePropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint DOMEventCancelablePropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventCancelablePropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventCancelablePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
dOMEventCancelable :: AttrLabelProxy "cancelable" Source
getDOMEventCancelable :: (MonadIO m, DOMEventK o) => o -> m Bool Source
CurrentTarget
data DOMEventCurrentTargetPropertyInfo Source
Instances
| AttrInfo DOMEventCurrentTargetPropertyInfo Source | |
| type AttrLabel DOMEventCurrentTargetPropertyInfo = "current-target" Source | |
| type AttrGetType DOMEventCurrentTargetPropertyInfo = Maybe DOMEventTarget Source | |
| type AttrBaseTypeConstraint DOMEventCurrentTargetPropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventCurrentTargetPropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventCurrentTargetPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) Source |
dOMEventCurrentTarget :: AttrLabelProxy "currentTarget" Source
getDOMEventCurrentTarget :: (MonadIO m, DOMEventK o) => o -> m (Maybe DOMEventTarget) Source
DefaultPrevented
data DOMEventDefaultPreventedPropertyInfo Source
Instances
dOMEventDefaultPrevented :: AttrLabelProxy "defaultPrevented" Source
getDOMEventDefaultPrevented :: (MonadIO m, DOMEventK o) => o -> m Bool Source
EventPhase
data DOMEventEventPhasePropertyInfo Source
Instances
| AttrInfo DOMEventEventPhasePropertyInfo Source | |
| type AttrLabel DOMEventEventPhasePropertyInfo = "event-phase" Source | |
| type AttrGetType DOMEventEventPhasePropertyInfo = Word32 Source | |
| type AttrBaseTypeConstraint DOMEventEventPhasePropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventEventPhasePropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventEventPhasePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
dOMEventEventPhase :: AttrLabelProxy "eventPhase" Source
getDOMEventEventPhase :: (MonadIO m, DOMEventK o) => o -> m Word32 Source
ReturnValue
data DOMEventReturnValuePropertyInfo Source
Instances
| AttrInfo DOMEventReturnValuePropertyInfo Source | |
| type AttrLabel DOMEventReturnValuePropertyInfo = "return-value" Source | |
| type AttrGetType DOMEventReturnValuePropertyInfo = Bool Source | |
| type AttrBaseTypeConstraint DOMEventReturnValuePropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventReturnValuePropertyInfo = * ~ Bool Source | |
| type AttrAllowedOps DOMEventReturnValuePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
dOMEventReturnValue :: AttrLabelProxy "returnValue" Source
getDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> m Bool Source
setDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> Bool -> m () Source
SrcElement
data DOMEventSrcElementPropertyInfo Source
Instances
| AttrInfo DOMEventSrcElementPropertyInfo Source | |
| type AttrLabel DOMEventSrcElementPropertyInfo = "src-element" Source | |
| type AttrGetType DOMEventSrcElementPropertyInfo = Maybe DOMEventTarget Source | |
| type AttrBaseTypeConstraint DOMEventSrcElementPropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventSrcElementPropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventSrcElementPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) Source |
dOMEventSrcElement :: AttrLabelProxy "srcElement" Source
getDOMEventSrcElement :: (MonadIO m, DOMEventK o) => o -> m (Maybe DOMEventTarget) Source
Target
data DOMEventTargetPropertyInfo Source
Instances
| AttrInfo DOMEventTargetPropertyInfo Source | |
| type AttrLabel DOMEventTargetPropertyInfo = "target" Source | |
| type AttrGetType DOMEventTargetPropertyInfo = Maybe DOMEventTarget Source | |
| type AttrBaseTypeConstraint DOMEventTargetPropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventTargetPropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventTargetPropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) Source |
dOMEventTarget :: AttrLabelProxy "target" Source
getDOMEventTarget :: (MonadIO m, DOMEventK o) => o -> m (Maybe DOMEventTarget) Source
TimeStamp
data DOMEventTimeStampPropertyInfo Source
Instances
| AttrInfo DOMEventTimeStampPropertyInfo Source | |
| type AttrLabel DOMEventTimeStampPropertyInfo = "time-stamp" Source | |
| type AttrGetType DOMEventTimeStampPropertyInfo = Word32 Source | |
| type AttrBaseTypeConstraint DOMEventTimeStampPropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventTimeStampPropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventTimeStampPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
dOMEventTimeStamp :: AttrLabelProxy "timeStamp" Source
getDOMEventTimeStamp :: (MonadIO m, DOMEventK o) => o -> m Word32 Source
Type
data DOMEventTypePropertyInfo Source
Instances
| AttrInfo DOMEventTypePropertyInfo Source | |
| type AttrLabel DOMEventTypePropertyInfo = "type" Source | |
| type AttrGetType DOMEventTypePropertyInfo = Maybe Text Source | |
| type AttrBaseTypeConstraint DOMEventTypePropertyInfo = DOMEventK Source | |
| type AttrSetTypeConstraint DOMEventTypePropertyInfo = * ~ () Source | |
| type AttrAllowedOps DOMEventTypePropertyInfo = (:) AttrOpTag AttrGet ((:) AttrOpTag AttrClear ([] AttrOpTag)) Source |
dOMEventType :: AttrLabelProxy "type" Source