Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype DOMEvent = DOMEvent (ManagedPtr DOMEvent)
- class (GObject o, IsDescendantOf DOMEvent o) => IsDOMEvent o
- toDOMEvent :: (MonadIO m, IsDOMEvent o) => o -> m DOMEvent
- noDOMEvent :: Maybe DOMEvent
- dOMEventGetBubbles :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m Bool
- dOMEventGetCancelBubble :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m Bool
- dOMEventGetCancelable :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m Bool
- dOMEventGetCurrentTarget :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m DOMEventTarget
- dOMEventGetEventPhase :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m Word16
- dOMEventGetEventType :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m Text
- dOMEventGetReturnValue :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m Bool
- dOMEventGetSrcElement :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m DOMEventTarget
- dOMEventGetTarget :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m DOMEventTarget
- dOMEventGetTimeStamp :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m Word32
- dOMEventInitEvent :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> Text -> Bool -> Bool -> m ()
- dOMEventPreventDefault :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m ()
- dOMEventSetCancelBubble :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> Bool -> m ()
- dOMEventSetReturnValue :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> Bool -> m ()
- dOMEventStopPropagation :: (HasCallStack, MonadIO m, IsDOMEvent a) => a -> m ()
- getDOMEventBubbles :: (MonadIO m, IsDOMEvent o) => o -> m Bool
- constructDOMEventCancelBubble :: IsDOMEvent o => Bool -> IO (GValueConstruct o)
- getDOMEventCancelBubble :: (MonadIO m, IsDOMEvent o) => o -> m Bool
- setDOMEventCancelBubble :: (MonadIO m, IsDOMEvent o) => o -> Bool -> m ()
- getDOMEventCancelable :: (MonadIO m, IsDOMEvent o) => o -> m Bool
- getDOMEventCurrentTarget :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe DOMEventTarget)
- getDOMEventEventPhase :: (MonadIO m, IsDOMEvent o) => o -> m Word32
- constructDOMEventReturnValue :: IsDOMEvent o => Bool -> IO (GValueConstruct o)
- getDOMEventReturnValue :: (MonadIO m, IsDOMEvent o) => o -> m Bool
- setDOMEventReturnValue :: (MonadIO m, IsDOMEvent o) => o -> Bool -> m ()
- getDOMEventSrcElement :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe DOMEventTarget)
- getDOMEventTarget :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe DOMEventTarget)
- getDOMEventTimeStamp :: (MonadIO m, IsDOMEvent o) => o -> m Word32
- getDOMEventType :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe Text)
Exported types
Memory-managed wrapper type.
Instances
GObject DOMEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent gobjectType :: IO GType # | |
HasParentTypes DOMEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent | |
type ParentTypes DOMEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent |
class (GObject o, IsDescendantOf DOMEvent o) => IsDOMEvent o Source #
Type class for types which can be safely cast to DOMEvent
, for instance with toDOMEvent
.
Instances
(GObject o, IsDescendantOf DOMEvent o) => IsDOMEvent o Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent |
toDOMEvent :: (MonadIO m, IsDOMEvent o) => o -> m DOMEvent Source #
Methods
getBubbles
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getCancelBubble
dOMEventGetCancelBubble Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getCancelable
dOMEventGetCancelable Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getCurrentTarget
dOMEventGetCurrentTarget Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m DOMEventTarget | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getEventPhase
dOMEventGetEventPhase Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m Word16 | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getEventType
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getReturnValue
dOMEventGetReturnValue Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getSrcElement
dOMEventGetSrcElement Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m DOMEventTarget | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getTarget
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m DOMEventTarget | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getTimeStamp
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m Word32 | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
initEvent
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> Text |
|
-> Bool |
|
-> Bool |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
preventDefault
dOMEventPreventDefault Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setCancelBubble
dOMEventSetCancelBubble Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> Bool |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setReturnValue
dOMEventSetReturnValue Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> Bool |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
stopPropagation
dOMEventStopPropagation Source #
:: (HasCallStack, MonadIO m, IsDOMEvent a) | |
=> a |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Properties
bubbles
No description available in the introspection data.
getDOMEventBubbles :: (MonadIO m, IsDOMEvent o) => o -> m Bool Source #
Get the value of the “bubbles
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #bubbles
cancelBubble
No description available in the introspection data.
constructDOMEventCancelBubble :: IsDOMEvent o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “cancel-bubble
” property. This is rarely needed directly, but it is used by new
.
getDOMEventCancelBubble :: (MonadIO m, IsDOMEvent o) => o -> m Bool Source #
Get the value of the “cancel-bubble
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #cancelBubble
setDOMEventCancelBubble :: (MonadIO m, IsDOMEvent o) => o -> Bool -> m () Source #
Set the value of the “cancel-bubble
” property.
When overloading is enabled, this is equivalent to
set
dOMEvent [ #cancelBubble:=
value ]
cancelable
No description available in the introspection data.
getDOMEventCancelable :: (MonadIO m, IsDOMEvent o) => o -> m Bool Source #
Get the value of the “cancelable
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #cancelable
currentTarget
No description available in the introspection data.
getDOMEventCurrentTarget :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe DOMEventTarget) Source #
Get the value of the “current-target
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #currentTarget
eventPhase
No description available in the introspection data.
getDOMEventEventPhase :: (MonadIO m, IsDOMEvent o) => o -> m Word32 Source #
Get the value of the “event-phase
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #eventPhase
returnValue
No description available in the introspection data.
constructDOMEventReturnValue :: IsDOMEvent o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “return-value
” property. This is rarely needed directly, but it is used by new
.
getDOMEventReturnValue :: (MonadIO m, IsDOMEvent o) => o -> m Bool Source #
Get the value of the “return-value
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #returnValue
setDOMEventReturnValue :: (MonadIO m, IsDOMEvent o) => o -> Bool -> m () Source #
Set the value of the “return-value
” property.
When overloading is enabled, this is equivalent to
set
dOMEvent [ #returnValue:=
value ]
srcElement
No description available in the introspection data.
getDOMEventSrcElement :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe DOMEventTarget) Source #
Get the value of the “src-element
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #srcElement
target
No description available in the introspection data.
getDOMEventTarget :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe DOMEventTarget) Source #
Get the value of the “target
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #target
timeStamp
No description available in the introspection data.
getDOMEventTimeStamp :: (MonadIO m, IsDOMEvent o) => o -> m Word32 Source #
Get the value of the “time-stamp
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #timeStamp
type
No description available in the introspection data.
getDOMEventType :: (MonadIO m, IsDOMEvent o) => o -> m (Maybe Text) Source #
Get the value of the “type
” property.
When overloading is enabled, this is equivalent to
get
dOMEvent #type