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

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

newtype DOMAttr Source #

Memory-managed wrapper type.

Constructors

DOMAttr (ManagedPtr DOMAttr) 

class (GObject o, IsDescendantOf DOMAttr o) => IsDOMAttr o Source #

Type class for types which can be safely cast to DOMAttr, for instance with toDOMAttr.

Instances
(GObject o, IsDescendantOf DOMAttr o) => IsDOMAttr o Source # 
Instance details

Defined in GI.WebKit2WebExtension.Objects.DOMAttr

toDOMAttr :: (MonadIO m, IsDOMAttr o) => o -> m DOMAttr Source #

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

noDOMAttr :: Maybe DOMAttr Source #

A convenience alias for Nothing :: Maybe DOMAttr.

Methods

getLocalName

dOMAttrGetLocalName Source #

Arguments

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

self: A DOMAttr

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.14

getName

dOMAttrGetName Source #

Arguments

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

self: A DOMAttr

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getNamespaceUri

dOMAttrGetNamespaceUri Source #

Arguments

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

self: A DOMAttr

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.14

getOwnerElement

dOMAttrGetOwnerElement Source #

Arguments

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

self: A DOMAttr

-> m DOMElement

Returns: A DOMElement

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getPrefix

dOMAttrGetPrefix Source #

Arguments

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

self: A DOMAttr

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.14

getSpecified

dOMAttrGetSpecified Source #

Arguments

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

self: A DOMAttr

-> m Bool

Returns: A Bool

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

getValue

dOMAttrGetValue Source #

Arguments

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

self: A DOMAttr

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

setValue

dOMAttrSetValue Source #

Arguments

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

self: A DOMAttr

-> Text

value: A gchar

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Properties

localName

No description available in the introspection data.

getDOMAttrLocalName :: (MonadIO m, IsDOMAttr o) => o -> m (Maybe Text) Source #

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

get dOMAttr #localName

name

No description available in the introspection data.

getDOMAttrName :: (MonadIO m, IsDOMAttr o) => o -> m (Maybe Text) Source #

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

get dOMAttr #name

namespaceUri

No description available in the introspection data.

getDOMAttrNamespaceUri :: (MonadIO m, IsDOMAttr o) => o -> m (Maybe Text) Source #

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

get dOMAttr #namespaceUri

ownerElement

No description available in the introspection data.

getDOMAttrOwnerElement :: (MonadIO m, IsDOMAttr o) => o -> m DOMElement Source #

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

get dOMAttr #ownerElement

prefix

No description available in the introspection data.

getDOMAttrPrefix :: (MonadIO m, IsDOMAttr o) => o -> m (Maybe Text) Source #

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

get dOMAttr #prefix

specified

No description available in the introspection data.

getDOMAttrSpecified :: (MonadIO m, IsDOMAttr o) => o -> m Bool Source #

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

get dOMAttr #specified

value

No description available in the introspection data.

clearDOMAttrValue :: (MonadIO m, IsDOMAttr o) => o -> m () Source #

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

clear #value

constructDOMAttrValue :: IsDOMAttr o => Text -> IO (GValueConstruct o) Source #

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

getDOMAttrValue :: (MonadIO m, IsDOMAttr o) => o -> m (Maybe Text) Source #

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

get dOMAttr #value

setDOMAttrValue :: (MonadIO m, IsDOMAttr o) => o -> Text -> m () Source #

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

set dOMAttr [ #value := value ]