gi-webkit2webextension-4.0.14: 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.DOMDOMSelection

Contents

Description

 

Synopsis

Exported types

Methods

addRange

dOMDOMSelectionAddRange Source #

Arguments

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

self: A DOMDOMSelection

-> b

range: A DOMRange

-> m () 

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

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)

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)

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

No description available in the introspection data.

Since: 2.16

deleteFromDocument

dOMDOMSelectionDeleteFromDocument Source #

Arguments

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

self: A DOMDOMSelection

-> m () 

No description available in the introspection data.

Since: 2.16

empty

dOMDOMSelectionEmpty Source #

Arguments

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

self: A DOMDOMSelection

-> m () 

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)

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

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

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

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

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

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

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

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

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

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)

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

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

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

No description available in the introspection data.

Since: 2.16

removeAllRanges

dOMDOMSelectionRemoveAllRanges Source #

Arguments

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

self: A DOMDOMSelection

-> m () 

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

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

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

No description available in the introspection data.

Since: 2.16

Properties

anchorNode

anchorOffset

baseNode

baseOffset

extentNode

extentOffset

focusNode

focusOffset

isCollapsed

rangeCount

type