gi-webkit2webextension-4.0.23: WebKit2-WebExtension bindings

CopyrightWill Thompson Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (inaki@blueleaf.cc)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2WebExtension.Objects.DOMRange

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DOMRange Source #

Memory-managed wrapper type.

Constructors

DOMRange (ManagedPtr DOMRange) 

class (GObject o, IsDescendantOf DOMRange o) => IsDOMRange o Source #

Type class for types which can be safely cast to DOMRange, for instance with toDOMRange.

toDOMRange :: (MonadIO m, IsDOMRange o) => o -> m DOMRange Source #

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

noDOMRange :: Maybe DOMRange Source #

A convenience alias for Nothing :: Maybe DOMRange.

Methods

cloneContents

dOMRangeCloneContents Source #

Arguments

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

self: A DOMRange

-> m DOMDocumentFragment

Returns: A DOMDocumentFragment (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

cloneRange

dOMRangeCloneRange Source #

Arguments

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

self: A DOMRange

-> m DOMRange

Returns: A DOMRange (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

collapse

dOMRangeCollapse Source #

Arguments

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

self: A DOMRange

-> Bool

toStart: A Bool

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

compareBoundaryPoints

dOMRangeCompareBoundaryPoints Source #

Arguments

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

self: A DOMRange

-> Word16

how: A gushort

-> b

sourceRange: A DOMRange

-> m Int16

Returns: A gshort (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

compareNode

dOMRangeCompareNode Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m Int16

Returns: A gshort (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

comparePoint

dOMRangeComparePoint Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> CLong

offset: A glong

-> m Int16

Returns: A gshort (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

createContextualFragment

dOMRangeCreateContextualFragment Source #

Arguments

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

self: A DOMRange

-> Text

html: A gchar

-> m DOMDocumentFragment

Returns: A DOMDocumentFragment (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

deleteContents

dOMRangeDeleteContents Source #

Arguments

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

self: A DOMRange

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

detach

dOMRangeDetach Source #

Arguments

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

self: A DOMRange

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

expand

dOMRangeExpand Source #

Arguments

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

self: A DOMRange

-> Text

unit: A gchar

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

extractContents

dOMRangeExtractContents Source #

Arguments

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

self: A DOMRange

-> m DOMDocumentFragment

Returns: A DOMDocumentFragment (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getCollapsed

dOMRangeGetCollapsed Source #

Arguments

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

self: A DOMRange

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getCommonAncestorContainer

dOMRangeGetCommonAncestorContainer Source #

Arguments

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

self: A DOMRange

-> m DOMNode

Returns: A DOMNode (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getEndContainer

dOMRangeGetEndContainer Source #

Arguments

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

self: A DOMRange

-> m DOMNode

Returns: A DOMNode (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getEndOffset

dOMRangeGetEndOffset Source #

Arguments

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

self: A DOMRange

-> m CLong

Returns: A glong (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getStartContainer

dOMRangeGetStartContainer Source #

Arguments

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

self: A DOMRange

-> m DOMNode

Returns: A DOMNode (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getStartOffset

dOMRangeGetStartOffset Source #

Arguments

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

self: A DOMRange

-> m CLong

Returns: A glong (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getText

dOMRangeGetText Source #

Arguments

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

self: A DOMRange

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

insertNode

dOMRangeInsertNode Source #

Arguments

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

self: A DOMRange

-> b

newNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

intersectsNode

dOMRangeIntersectsNode Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

isPointInRange

dOMRangeIsPointInRange Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> CLong

offset: A glong

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

selectNode

dOMRangeSelectNode Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

selectNodeContents

dOMRangeSelectNodeContents Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setEnd

dOMRangeSetEnd Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> CLong

offset: A glong

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setEndAfter

dOMRangeSetEndAfter Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setEndBefore

dOMRangeSetEndBefore Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setStart

dOMRangeSetStart Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> CLong

offset: A glong

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setStartAfter

dOMRangeSetStartAfter Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setStartBefore

dOMRangeSetStartBefore Source #

Arguments

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

self: A DOMRange

-> b

refNode: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

surroundContents

dOMRangeSurroundContents Source #

Arguments

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

self: A DOMRange

-> b

newParent: A DOMNode

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

toString

dOMRangeToString Source #

Arguments

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

self: A DOMRange

-> m Text

Returns: A gchar (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Properties

collapsed

No description available in the introspection data.

getDOMRangeCollapsed :: (MonadIO m, IsDOMRange o) => o -> m Bool Source #

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

get dOMRange #collapsed

commonAncestorContainer

No description available in the introspection data.

getDOMRangeCommonAncestorContainer :: (MonadIO m, IsDOMRange o) => o -> m (Maybe DOMNode) Source #

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

get dOMRange #commonAncestorContainer

endContainer

No description available in the introspection data.

getDOMRangeEndContainer :: (MonadIO m, IsDOMRange o) => o -> m (Maybe DOMNode) Source #

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

get dOMRange #endContainer

endOffset

No description available in the introspection data.

getDOMRangeEndOffset :: (MonadIO m, IsDOMRange o) => o -> m CLong Source #

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

get dOMRange #endOffset

startContainer

No description available in the introspection data.

getDOMRangeStartContainer :: (MonadIO m, IsDOMRange o) => o -> m (Maybe DOMNode) Source #

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

get dOMRange #startContainer

startOffset

No description available in the introspection data.

getDOMRangeStartOffset :: (MonadIO m, IsDOMRange o) => o -> m CLong Source #

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

get dOMRange #startOffset

text

No description available in the introspection data.

getDOMRangeText :: (MonadIO m, IsDOMRange o) => o -> m (Maybe Text) Source #

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

get dOMRange #text