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

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf DOMDOMSelection o) => IsDOMDOMSelection o Source #

Type class for types which can be safely cast to DOMDOMSelection, for instance with toDOMDOMSelection.

toDOMDOMSelection :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMDOMSelection Source #

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

Methods

addRange

dOMDOMSelectionAddRange Source #

Arguments

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

self: A DOMDOMSelection

-> b

range: A DOMRange

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

collapse

dOMDOMSelectionCollapse Source #

Arguments

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

self: A DOMDOMSelection

-> b

node: A DOMNode

-> CULong

offset: A gulong

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

collapseToEnd

dOMDOMSelectionCollapseToEnd Source #

Arguments

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

self: A DOMDOMSelection

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

collapseToStart

dOMDOMSelectionCollapseToStart Source #

Arguments

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

self: A DOMDOMSelection

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

containsNode

dOMDOMSelectionContainsNode Source #

Arguments

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

self: A DOMDOMSelection

-> b

node: A DOMNode

-> Bool

allowPartial: A Bool

-> m Bool

Returns: A Bool

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

deleteFromDocument

dOMDOMSelectionDeleteFromDocument Source #

Arguments

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

self: A DOMDOMSelection

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

empty

dOMDOMSelectionEmpty Source #

Arguments

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

self: A DOMDOMSelection

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

extend

dOMDOMSelectionExtend Source #

Arguments

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

self: A DOMDOMSelection

-> b

node: A DOMNode

-> CULong

offset: A gulong

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getAnchorNode

dOMDOMSelectionGetAnchorNode Source #

Arguments

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

self: A DOMDOMSelection

-> m DOMNode

Returns: A DOMNode

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getAnchorOffset

dOMDOMSelectionGetAnchorOffset Source #

Arguments

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

self: A DOMDOMSelection

-> m CULong

Returns: A gulong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getBaseNode

dOMDOMSelectionGetBaseNode Source #

Arguments

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

self: A DOMDOMSelection

-> m DOMNode

Returns: A DOMNode

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getBaseOffset

dOMDOMSelectionGetBaseOffset Source #

Arguments

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

self: A DOMDOMSelection

-> m CULong

Returns: A gulong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getExtentNode

dOMDOMSelectionGetExtentNode Source #

Arguments

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

self: A DOMDOMSelection

-> m DOMNode

Returns: A DOMNode

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getExtentOffset

dOMDOMSelectionGetExtentOffset Source #

Arguments

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

self: A DOMDOMSelection

-> m CULong

Returns: A gulong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getFocusNode

dOMDOMSelectionGetFocusNode Source #

Arguments

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

self: A DOMDOMSelection

-> m DOMNode

Returns: A DOMNode

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getFocusOffset

dOMDOMSelectionGetFocusOffset Source #

Arguments

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

self: A DOMDOMSelection

-> m CULong

Returns: A gulong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getIsCollapsed

dOMDOMSelectionGetIsCollapsed Source #

Arguments

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

self: A DOMDOMSelection

-> m Bool

Returns: A Bool

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getRangeAt

dOMDOMSelectionGetRangeAt Source #

Arguments

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

self: A DOMDOMSelection

-> CULong

index: A gulong

-> m DOMRange

Returns: A DOMRange (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getRangeCount

dOMDOMSelectionGetRangeCount Source #

Arguments

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

self: A DOMDOMSelection

-> m CULong

Returns: A gulong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getSelectionType

dOMDOMSelectionGetSelectionType Source #

Arguments

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

self: A DOMDOMSelection

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

modify

dOMDOMSelectionModify Source #

Arguments

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

self: A DOMDOMSelection

-> Text

alter: A gchar

-> Text

direction: A gchar

-> Text

granularity: A gchar

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

removeAllRanges

dOMDOMSelectionRemoveAllRanges Source #

Arguments

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

self: A DOMDOMSelection

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

selectAllChildren

dOMDOMSelectionSelectAllChildren Source #

Arguments

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

self: A DOMDOMSelection

-> b

node: A DOMNode

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

setBaseAndExtent

dOMDOMSelectionSetBaseAndExtent Source #

Arguments

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

self: A DOMDOMSelection

-> b

baseNode: A DOMNode

-> CULong

baseOffset: A gulong

-> c

extentNode: A DOMNode

-> CULong

extentOffset: A gulong

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

setPosition

dOMDOMSelectionSetPosition Source #

Arguments

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

self: A DOMDOMSelection

-> b

node: A DOMNode

-> CULong

offset: A gulong

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

Properties

anchorNode

No description available in the introspection data.

getDOMDOMSelectionAnchorNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #

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

get dOMDOMSelection #anchorNode

anchorOffset

No description available in the introspection data.

getDOMDOMSelectionAnchorOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #

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

get dOMDOMSelection #anchorOffset

baseNode

No description available in the introspection data.

getDOMDOMSelectionBaseNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #

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

get dOMDOMSelection #baseNode

baseOffset

No description available in the introspection data.

getDOMDOMSelectionBaseOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #

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

get dOMDOMSelection #baseOffset

extentNode

No description available in the introspection data.

getDOMDOMSelectionExtentNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #

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

get dOMDOMSelection #extentNode

extentOffset

No description available in the introspection data.

getDOMDOMSelectionExtentOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #

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

get dOMDOMSelection #extentOffset

focusNode

No description available in the introspection data.

getDOMDOMSelectionFocusNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #

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

get dOMDOMSelection #focusNode

focusOffset

No description available in the introspection data.

getDOMDOMSelectionFocusOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #

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

get dOMDOMSelection #focusOffset

isCollapsed

No description available in the introspection data.

getDOMDOMSelectionIsCollapsed :: (MonadIO m, IsDOMDOMSelection o) => o -> m Bool Source #

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

get dOMDOMSelection #isCollapsed

rangeCount

No description available in the introspection data.

getDOMDOMSelectionRangeCount :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #

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

get dOMDOMSelection #rangeCount

type

No description available in the introspection data.

getDOMDOMSelectionType :: (MonadIO m, IsDOMDOMSelection o) => o -> m (Maybe Text) Source #

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

get dOMDOMSelection #type