gi-webkit2webextension-4.0.15: WebKit2-WebExtension bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.DOMNode

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

class GObject o => IsDOMNode o Source #

Type class for types which can be safely cast to DOMNode, for instance with toDOMNode.

Instances

(GObject a, UnknownAncestorError Constraint DOMNode a) => IsDOMNode a Source # 
IsDOMNode DOMText Source # 
IsDOMNode DOMProcessingInstruction Source # 
IsDOMNode DOMNode Source # 
IsDOMNode DOMHTMLTableSectionElement Source # 
IsDOMNode DOMHTMLTableCaptionElement Source # 
IsDOMNode DOMHTMLScriptElement Source # 
IsDOMNode DOMHTMLHeadElement Source # 
IsDOMNode DOMHTMLFormElement Source # 
IsDOMNode DOMHTMLElement Source # 
IsDOMNode DOMHTMLDocument Source # 
IsDOMNode DOMEntityReference Source # 
IsDOMNode DOMElement Source # 
IsDOMNode DOMDocumentType Source # 
IsDOMNode DOMDocumentFragment Source # 
IsDOMNode DOMDocument Source # 
IsDOMNode DOMComment Source # 
IsDOMNode DOMCharacterData Source # 
IsDOMNode DOMCDATASection Source # 
IsDOMNode DOMAttr Source # 
IsDOMNode DOMHTMLAnchorElement Source # 
IsDOMNode DOMHTMLAppletElement Source # 
IsDOMNode DOMHTMLAreaElement Source # 
IsDOMNode DOMHTMLBRElement Source # 
IsDOMNode DOMHTMLBaseElement Source # 
IsDOMNode DOMHTMLBaseFontElement Source # 
IsDOMNode DOMHTMLBodyElement Source # 
IsDOMNode DOMHTMLButtonElement Source # 
IsDOMNode DOMHTMLCanvasElement Source # 
IsDOMNode DOMHTMLDListElement Source # 
IsDOMNode DOMHTMLDirectoryElement Source # 
IsDOMNode DOMHTMLDivElement Source # 
IsDOMNode DOMHTMLEmbedElement Source # 
IsDOMNode DOMHTMLFieldSetElement Source # 
IsDOMNode DOMHTMLFontElement Source # 
IsDOMNode DOMHTMLFrameElement Source # 
IsDOMNode DOMHTMLFrameSetElement Source # 
IsDOMNode DOMHTMLHRElement Source # 
IsDOMNode DOMHTMLHeadingElement Source # 
IsDOMNode DOMHTMLHtmlElement Source # 
IsDOMNode DOMHTMLIFrameElement Source # 
IsDOMNode DOMHTMLImageElement Source # 
IsDOMNode DOMHTMLInputElement Source # 
IsDOMNode DOMHTMLLIElement Source # 
IsDOMNode DOMHTMLLabelElement Source # 
IsDOMNode DOMHTMLLegendElement Source # 
IsDOMNode DOMHTMLLinkElement Source # 
IsDOMNode DOMHTMLMapElement Source # 
IsDOMNode DOMHTMLMarqueeElement Source # 
IsDOMNode DOMHTMLMenuElement Source # 
IsDOMNode DOMHTMLMetaElement Source # 
IsDOMNode DOMHTMLModElement Source # 
IsDOMNode DOMHTMLOListElement Source # 
IsDOMNode DOMHTMLObjectElement Source # 
IsDOMNode DOMHTMLOptGroupElement Source # 
IsDOMNode DOMHTMLOptionElement Source # 
IsDOMNode DOMHTMLParagraphElement Source # 
IsDOMNode DOMHTMLParamElement Source # 
IsDOMNode DOMHTMLPreElement Source # 
IsDOMNode DOMHTMLQuoteElement Source # 
IsDOMNode DOMHTMLSelectElement Source # 
IsDOMNode DOMHTMLStyleElement Source # 
IsDOMNode DOMHTMLTableCellElement Source # 
IsDOMNode DOMHTMLTableColElement Source # 
IsDOMNode DOMHTMLTableElement Source # 
IsDOMNode DOMHTMLTableRowElement Source # 
IsDOMNode DOMHTMLTextAreaElement Source # 
IsDOMNode DOMHTMLTitleElement Source # 
IsDOMNode DOMHTMLUListElement Source # 

toDOMNode :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #

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

noDOMNode :: Maybe DOMNode Source #

A convenience alias for Nothing :: Maybe DOMNode.

Methods

appendChild

dOMNodeAppendChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) 
=> a

self: A DOMNode

-> b

newChild: A DOMNode

-> m DOMNode

Returns: A DOMNode (Can throw GError)

No description available in the introspection data.

cloneNodeWithError

dOMNodeCloneNodeWithError Source #

Arguments

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

self: A DOMNode

-> Bool

deep: A Bool

-> m DOMNode

Returns: A DOMNode (Can throw GError)

No description available in the introspection data.

Since: 2.14

compareDocumentPosition

dOMNodeCompareDocumentPosition Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) 
=> a

self: A DOMNode

-> b

other: A DOMNode

-> m Word16

Returns: A gushort

No description available in the introspection data.

contains

dOMNodeContains Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) 
=> a

self: A DOMNode

-> b

other: A DOMNode

-> m Bool

Returns: A Bool

No description available in the introspection data.

getBaseUri

dOMNodeGetBaseUri Source #

Arguments

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

self: A DOMNode

-> m Text

Returns: A gchar

No description available in the introspection data.

getChildNodes

dOMNodeGetChildNodes Source #

Arguments

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

self: A DOMNode

-> m DOMNodeList

Returns: A DOMNodeList

No description available in the introspection data.

getFirstChild

dOMNodeGetFirstChild Source #

Arguments

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

self: A DOMNode

-> m DOMNode

Returns: A DOMNode

No description available in the introspection data.

getLastChild

dOMNodeGetLastChild Source #

Arguments

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

self: A DOMNode

-> m DOMNode

Returns: A DOMNode

No description available in the introspection data.

getLocalName

dOMNodeGetLocalName Source #

Arguments

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

self: A DOMNode

-> m Text

Returns: A gchar

Deprecated: (Since version 2.14)Use dOMAttrGetLocalName or dOMElementGetLocalName instead.

No description available in the introspection data.

getNamespaceUri

dOMNodeGetNamespaceUri Source #

Arguments

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

self: A DOMNode

-> m Text

Returns: A gchar

Deprecated: (Since version 2.14)Use dOMAttrGetNamespaceUri or dOMElementGetNamespaceUri instead.

No description available in the introspection data.

getNextSibling

dOMNodeGetNextSibling Source #

Arguments

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

self: A DOMNode

-> m DOMNode

Returns: A DOMNode

No description available in the introspection data.

getNodeName

dOMNodeGetNodeName Source #

Arguments

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

self: A DOMNode

-> m Text

Returns: A gchar

No description available in the introspection data.

getNodeType

dOMNodeGetNodeType Source #

Arguments

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

self: A DOMNode

-> m Word16

Returns: A gushort

No description available in the introspection data.

getNodeValue

dOMNodeGetNodeValue Source #

Arguments

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

self: A DOMNode

-> m Text

Returns: A gchar

No description available in the introspection data.

getOwnerDocument

dOMNodeGetOwnerDocument Source #

Arguments

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

self: A DOMNode

-> m DOMDocument

Returns: A DOMDocument

No description available in the introspection data.

getParentElement

dOMNodeGetParentElement Source #

Arguments

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

self: A DOMNode

-> m DOMElement

Returns: A DOMElement

No description available in the introspection data.

getParentNode

dOMNodeGetParentNode Source #

Arguments

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

self: A DOMNode

-> m DOMNode

Returns: A DOMNode

No description available in the introspection data.

getPrefix

dOMNodeGetPrefix Source #

Arguments

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

self: A DOMNode

-> m Text

Returns: A gchar

Deprecated: (Since version 2.14)Use dOMAttrGetPrefix or dOMElementGetPrefix instead.

No description available in the introspection data.

getPreviousSibling

dOMNodeGetPreviousSibling Source #

Arguments

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

self: A DOMNode

-> m DOMNode

Returns: A DOMNode

No description available in the introspection data.

getTextContent

dOMNodeGetTextContent Source #

Arguments

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

self: A DOMNode

-> m Text

Returns: A gchar

No description available in the introspection data.

hasChildNodes

dOMNodeHasChildNodes Source #

Arguments

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

self: A DOMNode

-> m Bool

Returns: A Bool

No description available in the introspection data.

insertBefore

dOMNodeInsertBefore Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b, IsDOMNode c) 
=> a

self: A DOMNode

-> b

newChild: A DOMNode

-> Maybe c

refChild: A DOMNode

-> m DOMNode

Returns: A DOMNode (Can throw GError)

No description available in the introspection data.

isDefaultNamespace

dOMNodeIsDefaultNamespace Source #

Arguments

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

self: A DOMNode

-> Text

namespaceURI: A gchar

-> m Bool

Returns: A Bool

No description available in the introspection data.

isEqualNode

dOMNodeIsEqualNode Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) 
=> a

self: A DOMNode

-> b

other: A DOMNode

-> m Bool

Returns: A Bool

No description available in the introspection data.

isSameNode

dOMNodeIsSameNode Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) 
=> a

self: A DOMNode

-> b

other: A DOMNode

-> m Bool

Returns: A Bool

No description available in the introspection data.

isSupported

dOMNodeIsSupported Source #

Arguments

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

self: A DOMNode

-> Text

feature: A gchar

-> Text

version: A gchar

-> m Bool

Returns: A Bool

No description available in the introspection data.

lookupNamespaceUri

dOMNodeLookupNamespaceUri Source #

Arguments

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

self: A DOMNode

-> Text

prefix: A gchar

-> m Text

Returns: A gchar

No description available in the introspection data.

lookupPrefix

dOMNodeLookupPrefix Source #

Arguments

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

self: A DOMNode

-> Text

namespaceURI: A gchar

-> m Text

Returns: A gchar

No description available in the introspection data.

normalize

dOMNodeNormalize Source #

Arguments

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

self: A DOMNode

-> m () 

No description available in the introspection data.

removeChild

dOMNodeRemoveChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b) 
=> a

self: A DOMNode

-> b

oldChild: A DOMNode

-> m DOMNode

Returns: A DOMNode (Can throw GError)

No description available in the introspection data.

replaceChild

dOMNodeReplaceChild Source #

Arguments

:: (HasCallStack, MonadIO m, IsDOMNode a, IsDOMNode b, IsDOMNode c) 
=> a

self: A DOMNode

-> b

newChild: A DOMNode

-> c

oldChild: A DOMNode

-> m DOMNode

Returns: A DOMNode (Can throw GError)

No description available in the introspection data.

setNodeValue

dOMNodeSetNodeValue Source #

Arguments

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

self: A DOMNode

-> Text

value: A gchar

-> m ()

(Can throw GError)

No description available in the introspection data.

setPrefix

dOMNodeSetPrefix Source #

Arguments

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

self: A DOMNode

-> Text

value: A gchar

-> m ()

(Can throw GError)

Deprecated: (Since version 2.14)

No description available in the introspection data.

setTextContent

dOMNodeSetTextContent Source #

Arguments

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

self: A DOMNode

-> Text

value: A gchar

-> m ()

(Can throw GError)

No description available in the introspection data.

Properties

baseUri

No description available in the introspection data.

getDOMNodeBaseUri :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #

Get the value of the “base-uri” property. When overloading is enabled, this is equivalent to

get dOMNode #baseUri

childNodes

No description available in the introspection data.

getDOMNodeChildNodes :: (MonadIO m, IsDOMNode o) => o -> m (Maybe DOMNodeList) Source #

Get the value of the “child-nodes” property. When overloading is enabled, this is equivalent to

get dOMNode #childNodes

firstChild

No description available in the introspection data.

getDOMNodeFirstChild :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #

Get the value of the “first-child” property. When overloading is enabled, this is equivalent to

get dOMNode #firstChild

lastChild

No description available in the introspection data.

getDOMNodeLastChild :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #

Get the value of the “last-child” property. When overloading is enabled, this is equivalent to

get dOMNode #lastChild

nextSibling

No description available in the introspection data.

getDOMNodeNextSibling :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #

Get the value of the “next-sibling” property. When overloading is enabled, this is equivalent to

get dOMNode #nextSibling

nodeName

No description available in the introspection data.

getDOMNodeNodeName :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #

Get the value of the “node-name” property. When overloading is enabled, this is equivalent to

get dOMNode #nodeName

nodeType

No description available in the introspection data.

getDOMNodeNodeType :: (MonadIO m, IsDOMNode o) => o -> m Word32 Source #

Get the value of the “node-type” property. When overloading is enabled, this is equivalent to

get dOMNode #nodeType

nodeValue

No description available in the introspection data.

clearDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> m () Source #

Set the value of the “node-value” property to Nothing. When overloading is enabled, this is equivalent to

clear #nodeValue

constructDOMNodeNodeValue :: IsDOMNode o => Text -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “node-value” property. This is rarely needed directly, but it is used by new.

getDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #

Get the value of the “node-value” property. When overloading is enabled, this is equivalent to

get dOMNode #nodeValue

setDOMNodeNodeValue :: (MonadIO m, IsDOMNode o) => o -> Text -> m () Source #

Set the value of the “node-value” property. When overloading is enabled, this is equivalent to

set dOMNode [ #nodeValue := value ]

ownerDocument

No description available in the introspection data.

getDOMNodeOwnerDocument :: (MonadIO m, IsDOMNode o) => o -> m DOMDocument Source #

Get the value of the “owner-document” property. When overloading is enabled, this is equivalent to

get dOMNode #ownerDocument

parentElement

No description available in the introspection data.

getDOMNodeParentElement :: (MonadIO m, IsDOMNode o) => o -> m DOMElement Source #

Get the value of the “parent-element” property. When overloading is enabled, this is equivalent to

get dOMNode #parentElement

parentNode

No description available in the introspection data.

getDOMNodeParentNode :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #

Get the value of the “parent-node” property. When overloading is enabled, this is equivalent to

get dOMNode #parentNode

previousSibling

No description available in the introspection data.

getDOMNodePreviousSibling :: (MonadIO m, IsDOMNode o) => o -> m DOMNode Source #

Get the value of the “previous-sibling” property. When overloading is enabled, this is equivalent to

get dOMNode #previousSibling

textContent

No description available in the introspection data.

clearDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> m () Source #

Set the value of the “text-content” property to Nothing. When overloading is enabled, this is equivalent to

clear #textContent

constructDOMNodeTextContent :: IsDOMNode o => Text -> IO (GValueConstruct o) Source #

Construct a GValueConstruct with valid value for the “text-content” property. This is rarely needed directly, but it is used by new.

getDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> m (Maybe Text) Source #

Get the value of the “text-content” property. When overloading is enabled, this is equivalent to

get dOMNode #textContent

setDOMNodeTextContent :: (MonadIO m, IsDOMNode o) => o -> Text -> m () Source #

Set the value of the “text-content” property. When overloading is enabled, this is equivalent to

set dOMNode [ #textContent := value ]