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

Contents

Description

No description available in the introspection data.

Synopsis

Exported types

class (GObject o, IsDescendantOf DOMDOMTokenList o) => IsDOMDOMTokenList o Source #

Type class for types which can be safely cast to DOMDOMTokenList, for instance with toDOMDOMTokenList.

toDOMDOMTokenList :: (MonadIO m, IsDOMDOMTokenList o) => o -> m DOMDOMTokenList Source #

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

Methods

contains

dOMDOMTokenListContains Source #

Arguments

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

self: A DOMDOMTokenList

-> Text

token: A gchar

-> m Bool

Returns: A Bool

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getLength

dOMDOMTokenListGetLength Source #

Arguments

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

self: A DOMDOMTokenList

-> m CULong

Returns: A gulong

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

getValue

dOMDOMTokenListGetValue Source #

Arguments

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

self: A DOMDOMTokenList

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

item

dOMDOMTokenListItem Source #

Arguments

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

self: A DOMDOMTokenList

-> CULong

index: A gulong

-> m Text

Returns: A gchar

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

replace

dOMDOMTokenListReplace Source #

Arguments

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

self: A DOMDOMTokenList

-> Text

token: A gchar

-> Text

newToken: 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

setValue

dOMDOMTokenListSetValue Source #

Arguments

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

self: A DOMDOMTokenList

-> Text

value: A gchar

-> m () 

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

toggle

dOMDOMTokenListToggle Source #

Arguments

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

self: A DOMDOMTokenList

-> Text

token: A gchar

-> Bool

force: A Bool

-> m ()

(Can throw GError)

Deprecated: (Since version 2.22)Use JavaScriptCore API instead

No description available in the introspection data.

Since: 2.16

Properties

length

No description available in the introspection data.

getDOMDOMTokenListLength :: (MonadIO m, IsDOMDOMTokenList o) => o -> m CULong Source #

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

get dOMDOMTokenList #length

value

No description available in the introspection data.

constructDOMDOMTokenListValue :: IsDOMDOMTokenList 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.

getDOMDOMTokenListValue :: (MonadIO m, IsDOMDOMTokenList o) => o -> m (Maybe Text) Source #

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

get dOMDOMTokenList #value

setDOMDOMTokenListValue :: (MonadIO m, IsDOMDOMTokenList o) => o -> Text -> m () Source #

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

set dOMDOMTokenList [ #value := value ]