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 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.
Instances
GObject DOMHTMLOptionsCollection Source # | |
HasParentTypes DOMHTMLOptionsCollection Source # | |
type ParentTypes DOMHTMLOptionsCollection Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMHTMLOptionsCollection type ParentTypes DOMHTMLOptionsCollection = DOMHTMLCollection ': (DOMObject ': (Object ': ([] :: [Type]))) |
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
(GObject o, IsDescendantOf DOMHTMLOptionsCollection o) => IsDOMHTMLOptionsCollection o Source # | |
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
getLength
dOMHTMLOptionsCollectionGetLength Source #
:: (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 #
:: (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 #
:: (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 #
:: (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
set
dOMHTMLOptionsCollection [ #selectedIndex:=
value ]