gi-webkit2webextension-4.0.28: WebKit2-WebExtension bindings
CopyrightWill Thompson and Iñaki García Etxebarria
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria
Safe HaskellSafe-Inferred
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.DOMEvent

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DOMEvent Source #

Memory-managed wrapper type.

Constructors

DOMEvent (ManagedPtr DOMEvent) 

Instances

Instances details
Eq DOMEvent Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

GObject DOMEvent Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

ManagedPtrNewtype DOMEvent Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

Methods

toManagedPtr :: DOMEvent -> ManagedPtr DOMEvent

TypedObject DOMEvent Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

Methods

glibType :: IO GType

HasParentTypes DOMEvent Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

IsGValue (Maybe DOMEvent) Source #

Convert DOMEvent to and from GValue. See toGValue and fromGValue.

Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

Methods

gvalueGType_ :: IO GType

gvalueSet_ :: Ptr GValue -> Maybe DOMEvent -> IO ()

gvalueGet_ :: Ptr GValue -> IO (Maybe DOMEvent)

type ParentTypes DOMEvent Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

type ParentTypes DOMEvent = '[DOMObject, Object]

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

Instances details
(GObject o, IsDescendantOf DOMEvent o) => IsDOMEvent o Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMEvent

toDOMEvent :: (MonadIO m, IsDOMEvent o) => o -> m DOMEvent Source #

Cast to DOMEvent, for types for which this is known to be safe. For general casts, use castTo.

Methods

getBubbles

dOMEventGetBubbles Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMEvent a) 
=> a

self: A DOMEvent

-> m Bool

Returns: A Bool

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

self: A DOMEvent

-> m Bool

Returns: A Bool

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

self: A DOMEvent

-> m Bool

Returns: A Bool

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

self: A DOMEvent

-> m DOMEventTarget

Returns: A DOMEventTarget

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

self: A DOMEvent

-> m Word16

Returns: A gushort

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getEventType

dOMEventGetEventType Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMEvent a) 
=> a

self: A DOMEvent

-> m Text

Returns: A gchar

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

self: A DOMEvent

-> m Bool

Returns: A Bool

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

self: A DOMEvent

-> m DOMEventTarget

Returns: A DOMEventTarget

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getTarget

dOMEventGetTarget Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMEvent a) 
=> a

self: A DOMEvent

-> m DOMEventTarget

Returns: A DOMEventTarget

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getTimeStamp

dOMEventGetTimeStamp Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMEvent a) 
=> a

self: A DOMEvent

-> m Word32

Returns: A guint32

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

initEvent

dOMEventInitEvent Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMEvent a) 
=> a

self: A DOMEvent

-> Text

eventTypeArg: A gchar

-> Bool

canBubbleArg: A Bool

-> Bool

cancelableArg: A 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

self: A DOMEvent

-> 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

self: A DOMEvent

-> Bool

value: 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

self: A DOMEvent

-> Bool

value: 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

self: A DOMEvent

-> 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