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
- dOMEventGetBubbles
- dOMEventGetCancelBubble
- dOMEventGetCancelable
- dOMEventGetCurrentTarget
- dOMEventGetEventPhase
- dOMEventGetEventType
- dOMEventGetReturnValue
- dOMEventGetSrcElement
- dOMEventGetTarget
- dOMEventGetTimeStamp
- dOMEventInitEvent
- dOMEventPreventDefault
- dOMEventSetCancelBubble
- dOMEventSetReturnValue
- dOMEventStopPropagation
- Properties
- 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 DOMEventGetEventPhaseMethodInfo
- dOMEventGetEventPhase :: (MonadIO m, DOMEventK a) => a -> m Word16
- data DOMEventGetEventTypeMethodInfo
- dOMEventGetEventType :: (MonadIO m, DOMEventK a) => a -> m Text
- 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 DOMEventStopPropagationMethodInfo
- dOMEventStopPropagation :: (MonadIO m, DOMEventK a) => a -> m ()
- data DOMEventBubblesPropertyInfo
- getDOMEventBubbles :: (MonadIO m, DOMEventK o) => o -> m Bool
- data DOMEventCancelBubblePropertyInfo
- constructDOMEventCancelBubble :: Bool -> IO ([Char], GValue)
- getDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> m Bool
- setDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> Bool -> m ()
- data DOMEventCancelablePropertyInfo
- getDOMEventCancelable :: (MonadIO m, DOMEventK o) => o -> m Bool
- data DOMEventCurrentTargetPropertyInfo
- getDOMEventCurrentTarget :: (MonadIO m, DOMEventK o) => o -> m DOMEventTarget
- data DOMEventDefaultPreventedPropertyInfo
- getDOMEventDefaultPrevented :: (MonadIO m, DOMEventK o) => o -> m Bool
- data DOMEventEventPhasePropertyInfo
- getDOMEventEventPhase :: (MonadIO m, DOMEventK o) => o -> m Word32
- data DOMEventReturnValuePropertyInfo
- constructDOMEventReturnValue :: Bool -> IO ([Char], GValue)
- getDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> m Bool
- setDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> Bool -> m ()
- data DOMEventSrcElementPropertyInfo
- getDOMEventSrcElement :: (MonadIO m, DOMEventK o) => o -> m DOMEventTarget
- data DOMEventTargetPropertyInfo
- getDOMEventTarget :: (MonadIO m, DOMEventK o) => o -> m DOMEventTarget
- data DOMEventTimeStampPropertyInfo
- getDOMEventTimeStamp :: (MonadIO m, DOMEventK o) => o -> m Word32
- data DOMEventTypePropertyInfo
- getDOMEventType :: (MonadIO m, DOMEventK o) => o -> m Text
Exported types
GObject DOMEvent Source | |
((~) * info (ResolveDOMEventMethod t DOMEvent), MethodInfo * info DOMEvent p) => IsLabel t (DOMEvent -> p) 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 |
toDOMEvent :: DOMEventK o => o -> IO DOMEvent Source
Methods
dOMEventGetBubbles
data DOMEventGetBubblesMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetBubblesMethodInfo a signature Source | |
dOMEventGetBubbles :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetCancelBubble
data DOMEventGetCancelBubbleMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetCancelBubbleMethodInfo a signature Source | |
dOMEventGetCancelBubble :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetCancelable
data DOMEventGetCancelableMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetCancelableMethodInfo a signature Source | |
dOMEventGetCancelable :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetCurrentTarget
data DOMEventGetCurrentTargetMethodInfo Source
((~) (TYPE Lifted) signature (m DOMEventTarget), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetCurrentTargetMethodInfo a signature Source | |
dOMEventGetCurrentTarget :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget Source
dOMEventGetEventPhase
data DOMEventGetEventPhaseMethodInfo Source
((~) (TYPE Lifted) signature (m Word16), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetEventPhaseMethodInfo a signature Source | |
dOMEventGetEventPhase :: (MonadIO m, DOMEventK a) => a -> m Word16 Source
dOMEventGetEventType
data DOMEventGetEventTypeMethodInfo Source
((~) (TYPE Lifted) signature (m Text), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetEventTypeMethodInfo a signature Source | |
dOMEventGetEventType :: (MonadIO m, DOMEventK a) => a -> m Text Source
dOMEventGetReturnValue
data DOMEventGetReturnValueMethodInfo Source
((~) (TYPE Lifted) signature (m Bool), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetReturnValueMethodInfo a signature Source | |
dOMEventGetReturnValue :: (MonadIO m, DOMEventK a) => a -> m Bool Source
dOMEventGetSrcElement
data DOMEventGetSrcElementMethodInfo Source
((~) (TYPE Lifted) signature (m DOMEventTarget), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetSrcElementMethodInfo a signature Source | |
dOMEventGetSrcElement :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget Source
dOMEventGetTarget
data DOMEventGetTargetMethodInfo Source
((~) (TYPE Lifted) signature (m DOMEventTarget), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetTargetMethodInfo a signature Source | |
dOMEventGetTarget :: (MonadIO m, DOMEventK a) => a -> m DOMEventTarget Source
dOMEventGetTimeStamp
data DOMEventGetTimeStampMethodInfo Source
((~) (TYPE Lifted) signature (m Word32), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventGetTimeStampMethodInfo a signature Source | |
dOMEventGetTimeStamp :: (MonadIO m, DOMEventK a) => a -> m Word32 Source
dOMEventInitEvent
dOMEventPreventDefault
data DOMEventPreventDefaultMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventPreventDefaultMethodInfo a signature Source | |
dOMEventPreventDefault :: (MonadIO m, DOMEventK a) => a -> m () Source
dOMEventSetCancelBubble
data DOMEventSetCancelBubbleMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventSetCancelBubbleMethodInfo a signature Source | |
dOMEventSetCancelBubble :: (MonadIO m, DOMEventK a) => a -> Bool -> m () Source
dOMEventSetReturnValue
data DOMEventSetReturnValueMethodInfo Source
((~) (TYPE Lifted) signature (Bool -> m ()), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventSetReturnValueMethodInfo a signature Source | |
dOMEventSetReturnValue :: (MonadIO m, DOMEventK a) => a -> Bool -> m () Source
dOMEventStopPropagation
data DOMEventStopPropagationMethodInfo Source
((~) (TYPE Lifted) signature (m ()), MonadIO m, DOMEventK a) => MethodInfo (TYPE Lifted) DOMEventStopPropagationMethodInfo a signature Source | |
dOMEventStopPropagation :: (MonadIO m, DOMEventK a) => a -> m () Source
Properties
Bubbles
data DOMEventBubblesPropertyInfo Source
AttrInfo DOMEventBubblesPropertyInfo Source | |
type AttrLabel DOMEventBubblesPropertyInfo = "bubbles" Source | |
type AttrGetType DOMEventBubblesPropertyInfo = Bool Source | |
type AttrBaseTypeConstraint DOMEventBubblesPropertyInfo = DOMEventK Source | |
type AttrSetTypeConstraint DOMEventBubblesPropertyInfo = TYPE Lifted ~ () Source | |
type AttrAllowedOps DOMEventBubblesPropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getDOMEventBubbles :: (MonadIO m, DOMEventK o) => o -> m Bool Source
CancelBubble
data DOMEventCancelBubblePropertyInfo Source
AttrInfo DOMEventCancelBubblePropertyInfo Source | |
type AttrLabel DOMEventCancelBubblePropertyInfo = "cancel-bubble" Source | |
type AttrGetType DOMEventCancelBubblePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint DOMEventCancelBubblePropertyInfo = DOMEventK Source | |
type AttrSetTypeConstraint DOMEventCancelBubblePropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps DOMEventCancelBubblePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> m Bool Source
setDOMEventCancelBubble :: (MonadIO m, DOMEventK o) => o -> Bool -> m () Source
Cancelable
data DOMEventCancelablePropertyInfo Source
getDOMEventCancelable :: (MonadIO m, DOMEventK o) => o -> m Bool Source
CurrentTarget
data DOMEventCurrentTargetPropertyInfo Source
getDOMEventCurrentTarget :: (MonadIO m, DOMEventK o) => o -> m DOMEventTarget Source
DefaultPrevented
data DOMEventDefaultPreventedPropertyInfo Source
getDOMEventDefaultPrevented :: (MonadIO m, DOMEventK o) => o -> m Bool Source
EventPhase
data DOMEventEventPhasePropertyInfo Source
getDOMEventEventPhase :: (MonadIO m, DOMEventK o) => o -> m Word32 Source
ReturnValue
data DOMEventReturnValuePropertyInfo Source
AttrInfo DOMEventReturnValuePropertyInfo Source | |
type AttrLabel DOMEventReturnValuePropertyInfo = "return-value" Source | |
type AttrGetType DOMEventReturnValuePropertyInfo = Bool Source | |
type AttrBaseTypeConstraint DOMEventReturnValuePropertyInfo = DOMEventK Source | |
type AttrSetTypeConstraint DOMEventReturnValuePropertyInfo = TYPE Lifted ~ Bool Source | |
type AttrAllowedOps DOMEventReturnValuePropertyInfo = (:) AttrOpTag AttrSet ((:) AttrOpTag AttrConstruct ((:) AttrOpTag AttrGet ([] AttrOpTag))) Source |
getDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> m Bool Source
setDOMEventReturnValue :: (MonadIO m, DOMEventK o) => o -> Bool -> m () Source
SrcElement
data DOMEventSrcElementPropertyInfo Source
getDOMEventSrcElement :: (MonadIO m, DOMEventK o) => o -> m DOMEventTarget Source
Target
data DOMEventTargetPropertyInfo Source
getDOMEventTarget :: (MonadIO m, DOMEventK o) => o -> m DOMEventTarget Source
TimeStamp
data DOMEventTimeStampPropertyInfo Source
getDOMEventTimeStamp :: (MonadIO m, DOMEventK o) => o -> m Word32 Source
Type
data DOMEventTypePropertyInfo Source
AttrInfo DOMEventTypePropertyInfo Source | |
type AttrLabel DOMEventTypePropertyInfo = "type" Source | |
type AttrGetType DOMEventTypePropertyInfo = Text Source | |
type AttrBaseTypeConstraint DOMEventTypePropertyInfo = DOMEventK Source | |
type AttrSetTypeConstraint DOMEventTypePropertyInfo = TYPE Lifted ~ () Source | |
type AttrAllowedOps DOMEventTypePropertyInfo = (:) AttrOpTag AttrGet ([] AttrOpTag) Source |
getDOMEventType :: (MonadIO m, DOMEventK o) => o -> m Text Source