gi-webkit2webextension-4.0.30: 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.DOMText

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DOMText Source #

Memory-managed wrapper type.

Constructors

DOMText (ManagedPtr DOMText) 

Instances

Instances details
Eq DOMText Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

Methods

(==) :: DOMText -> DOMText -> Bool #

(/=) :: DOMText -> DOMText -> Bool #

GObject DOMText Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

ManagedPtrNewtype DOMText Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

Methods

toManagedPtr :: DOMText -> ManagedPtr DOMText

TypedObject DOMText Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

Methods

glibType :: IO GType

HasParentTypes DOMText Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

IsGValue (Maybe DOMText) Source #

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

Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

Methods

gvalueGType_ :: IO GType

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

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

type ParentTypes DOMText Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

type ParentTypes DOMText = '[DOMCharacterData, DOMNode, DOMObject, Object, DOMEventTarget]

class (GObject o, IsDescendantOf DOMText o) => IsDOMText o Source #

Type class for types which can be safely cast to DOMText, for instance with toDOMText.

Instances

Instances details
(GObject o, IsDescendantOf DOMText o) => IsDOMText o Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMText

toDOMText :: (MonadIO m, IsDOMText o) => o -> m DOMText Source #

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

Methods

getWholeText

dOMTextGetWholeText Source #

Arguments

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

self: A DOMText

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

replaceWholeText

dOMTextReplaceWholeText Source #

Arguments

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

self: A DOMText

-> Text

content: A gchar

-> m DOMText

Returns: A DOMText (Can throw GError)

Deprecated: (Since version 2.14)

No description available in the introspection data.

splitText

dOMTextSplitText Source #

Arguments

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

self: A DOMText

-> CULong

offset: A gulong

-> m DOMText

Returns: A DOMText (Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Properties

wholeText

No description available in the introspection data.

getDOMTextWholeText :: (MonadIO m, IsDOMText o) => o -> m (Maybe Text) Source #

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

get dOMText #wholeText