Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
GI.WebKit2WebExtension.Objects.DOMEvent
Contents
Description
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
- 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, MonadIO m) => Bool -> m (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, MonadIO m) => Bool -> m (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
Eq DOMEvent Source # | |
GObject DOMEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent | |
ManagedPtrNewtype DOMEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent Methods toManagedPtr :: DOMEvent -> ManagedPtr DOMEvent | |
TypedObject DOMEvent Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent Methods glibType :: IO GType | |
IsGValue DOMEvent Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMEvent | |
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
Overloaded methods
getBubbles
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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
Arguments
:: (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
Arguments
:: (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
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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 #
Arguments
:: (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, MonadIO m) => Bool -> m (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, MonadIO m) => Bool -> m (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