Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (inaki@blueleaf.cc) |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype DOMDOMTokenList = DOMDOMTokenList (ManagedPtr DOMDOMTokenList)
- class (GObject o, IsDescendantOf DOMDOMTokenList o) => IsDOMDOMTokenList o
- toDOMDOMTokenList :: (MonadIO m, IsDOMDOMTokenList o) => o -> m DOMDOMTokenList
- noDOMDOMTokenList :: Maybe DOMDOMTokenList
- dOMDOMTokenListContains :: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) => a -> Text -> m Bool
- dOMDOMTokenListGetLength :: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) => a -> m CULong
- dOMDOMTokenListGetValue :: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) => a -> m Text
- dOMDOMTokenListItem :: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) => a -> CULong -> m Text
- dOMDOMTokenListReplace :: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) => a -> Text -> Text -> m ()
- dOMDOMTokenListSetValue :: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) => a -> Text -> m ()
- dOMDOMTokenListToggle :: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) => a -> Text -> Bool -> m ()
- getDOMDOMTokenListLength :: (MonadIO m, IsDOMDOMTokenList o) => o -> m CULong
- constructDOMDOMTokenListValue :: IsDOMDOMTokenList o => Text -> IO (GValueConstruct o)
- getDOMDOMTokenListValue :: (MonadIO m, IsDOMDOMTokenList o) => o -> m (Maybe Text)
- setDOMDOMTokenListValue :: (MonadIO m, IsDOMDOMTokenList o) => o -> Text -> m ()
Exported types
newtype DOMDOMTokenList Source #
Memory-managed wrapper type.
Instances
GObject DOMDOMTokenList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMDOMTokenList gobjectType :: IO GType # | |
HasParentTypes DOMDOMTokenList Source # | |
type ParentTypes DOMDOMTokenList Source # | |
class (GObject o, IsDescendantOf DOMDOMTokenList o) => IsDOMDOMTokenList o Source #
Type class for types which can be safely cast to DOMDOMTokenList
, for instance with toDOMDOMTokenList
.
Instances
(GObject o, IsDescendantOf DOMDOMTokenList o) => IsDOMDOMTokenList o Source # | |
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
.
noDOMDOMTokenList :: Maybe DOMDOMTokenList Source #
A convenience alias for Nothing
:: Maybe
DOMDOMTokenList
.
Methods
contains
dOMDOMTokenListContains Source #
:: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) | |
=> a |
|
-> Text |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getLength
dOMDOMTokenListGetLength Source #
:: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) | |
=> a |
|
-> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getValue
dOMDOMTokenListGetValue Source #
:: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
item
:: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) | |
=> a |
|
-> CULong |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
replace
dOMDOMTokenListReplace Source #
:: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> m () | (Can throw |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
setValue
dOMDOMTokenListSetValue Source #
:: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) | |
=> a |
|
-> Text |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
toggle
dOMDOMTokenListToggle Source #
:: (HasCallStack, MonadIO m, IsDOMDOMTokenList a) | |
=> a |
|
-> Text |
|
-> Bool |
|
-> m () | (Can throw |
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 ]