| 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 |
GI.WebKit2WebExtension.Objects.DOMNodeList
Description
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
- noDOMNodeList :: Maybe 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.
Constructors
| DOMNodeList (ManagedPtr DOMNodeList) |
Instances
| Eq DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList | |
| IsGValue DOMNodeList Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList | |
| GObject DOMNodeList Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMNodeList Methods gobjectType :: IO GType # | |
| 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.
noDOMNodeList :: Maybe DOMNodeList Source #
A convenience alias for Nothing :: Maybe DOMNodeList.
Methods
Overloaded methods
getLength
Arguments
| :: (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
Arguments
| :: (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