| 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.DOMHTMLOptionsCollection
Description
No description available in the introspection data.
Synopsis
- newtype DOMHTMLOptionsCollection = DOMHTMLOptionsCollection (ManagedPtr DOMHTMLOptionsCollection)
- class (GObject o, IsDescendantOf DOMHTMLOptionsCollection o) => IsDOMHTMLOptionsCollection o
- toDOMHTMLOptionsCollection :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> m DOMHTMLOptionsCollection
- noDOMHTMLOptionsCollection :: Maybe DOMHTMLOptionsCollection
- dOMHTMLOptionsCollectionGetLength :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) => a -> m CULong
- dOMHTMLOptionsCollectionGetSelectedIndex :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) => a -> m CLong
- dOMHTMLOptionsCollectionNamedItem :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) => a -> Text -> m DOMNode
- dOMHTMLOptionsCollectionSetSelectedIndex :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) => a -> CLong -> m ()
- getDOMHTMLOptionsCollectionLength :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> m CULong
- constructDOMHTMLOptionsCollectionSelectedIndex :: IsDOMHTMLOptionsCollection o => CLong -> IO (GValueConstruct o)
- getDOMHTMLOptionsCollectionSelectedIndex :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> m CLong
- setDOMHTMLOptionsCollectionSelectedIndex :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> CLong -> m ()
Exported types
newtype DOMHTMLOptionsCollection Source #
Memory-managed wrapper type.
Constructors
| DOMHTMLOptionsCollection (ManagedPtr DOMHTMLOptionsCollection) |
Instances
| Eq DOMHTMLOptionsCollection Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMHTMLOptionsCollection Methods (==) :: DOMHTMLOptionsCollection -> DOMHTMLOptionsCollection -> Bool # (/=) :: DOMHTMLOptionsCollection -> DOMHTMLOptionsCollection -> Bool # | |
| IsGValue DOMHTMLOptionsCollection Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMHTMLOptionsCollection Methods | |
| GObject DOMHTMLOptionsCollection Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMHTMLOptionsCollection Methods gobjectType :: IO GType # | |
| HasParentTypes DOMHTMLOptionsCollection Source # | |
| type ParentTypes DOMHTMLOptionsCollection Source # | |
class (GObject o, IsDescendantOf DOMHTMLOptionsCollection o) => IsDOMHTMLOptionsCollection o Source #
Type class for types which can be safely cast to DOMHTMLOptionsCollection, for instance with toDOMHTMLOptionsCollection.
Instances
toDOMHTMLOptionsCollection :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> m DOMHTMLOptionsCollection Source #
Cast to DOMHTMLOptionsCollection, for types for which this is known to be safe. For general casts, use castTo.
noDOMHTMLOptionsCollection :: Maybe DOMHTMLOptionsCollection Source #
A convenience alias for Nothing :: Maybe DOMHTMLOptionsCollection.
Methods
Overloaded methods
getLength
dOMHTMLOptionsCollectionGetLength Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) | |
| => a |
|
| -> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getSelectedIndex
dOMHTMLOptionsCollectionGetSelectedIndex Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
namedItem
dOMHTMLOptionsCollectionNamedItem Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) | |
| => a |
|
| -> Text |
|
| -> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setSelectedIndex
dOMHTMLOptionsCollectionSetSelectedIndex Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionsCollection a) | |
| => a |
|
| -> CLong |
|
| -> m () |
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.
getDOMHTMLOptionsCollectionLength :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> m CULong Source #
Get the value of the “length” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionsCollection #length
selectedIndex
No description available in the introspection data.
constructDOMHTMLOptionsCollectionSelectedIndex :: IsDOMHTMLOptionsCollection o => CLong -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “selected-index” property. This is rarely needed directly, but it is used by new.
getDOMHTMLOptionsCollectionSelectedIndex :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> m CLong Source #
Get the value of the “selected-index” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionsCollection #selectedIndex
setDOMHTMLOptionsCollectionSelectedIndex :: (MonadIO m, IsDOMHTMLOptionsCollection o) => o -> CLong -> m () Source #
Set the value of the “selected-index” property.
When overloading is enabled, this is equivalent to
setdOMHTMLOptionsCollection [ #selectedIndex:=value ]