Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria |
Safe Haskell | None |
Language | Haskell2010 |
No description available in the introspection data.
Synopsis
- newtype DOMNodeList = DOMNodeList (ManagedPtr DOMNodeList)
- class (GObject o, IsDescendantOf DOMNodeList o) => IsDOMNodeList o
- toDOMNodeList :: (MonadIO m, IsDOMNodeList o) => o -> m DOMNodeList
- dOMNodeListGetLength :: (HasCallStack, MonadIO m, IsDOMNodeList a) => a -> m CULong
- dOMNodeListItem :: (HasCallStack, MonadIO m, IsDOMNodeList a) => a -> CULong -> m (Maybe DOMNode)
- getDOMNodeListLength :: (MonadIO m, IsDOMNodeList o) => o -> m CULong
Exported types
newtype DOMNodeList Source #
Memory-managed wrapper type.
DOMNodeList (ManagedPtr DOMNodeList) |
Instances
Eq DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList (==) :: DOMNodeList -> DOMNodeList -> Bool (/=) :: DOMNodeList -> DOMNodeList -> Bool | |
GObject DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList | |
ManagedPtrNewtype DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList toManagedPtr :: DOMNodeList -> ManagedPtr DOMNodeList | |
TypedObject DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList glibType :: IO GType | |
IsGValue DOMNodeList Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList toGValue :: DOMNodeList -> IO GValue fromGValue :: GValue -> IO DOMNodeList | |
HasParentTypes DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList | |
type ParentTypes DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList |
class (GObject o, IsDescendantOf DOMNodeList o) => IsDOMNodeList o Source #
Type class for types which can be safely cast to DOMNodeList
, for instance with toDOMNodeList
.
Instances
(GObject o, IsDescendantOf DOMNodeList o) => IsDOMNodeList o Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList |
toDOMNodeList :: (MonadIO m, IsDOMNodeList o) => o -> m DOMNodeList Source #
Cast to DOMNodeList
, for types for which this is known to be safe. For general casts, use castTo
.
Methods
Overloaded methods
getLength
:: (HasCallStack, MonadIO m, IsDOMNodeList a) | |
=> a |
|
-> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
item
:: (HasCallStack, MonadIO m, IsDOMNodeList a) | |
=> a |
|
-> CULong |
|
-> m (Maybe DOMNode) | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Properties
length
No description available in the introspection data.
getDOMNodeListLength :: (MonadIO m, IsDOMNodeList o) => o -> m CULong Source #
Get the value of the “length
” property.
When overloading is enabled, this is equivalent to
get
dOMNodeList #length