| 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.DOMHTMLOptionElement
Description
No description available in the introspection data.
Synopsis
- newtype DOMHTMLOptionElement = DOMHTMLOptionElement (ManagedPtr DOMHTMLOptionElement)
- class (GObject o, IsDescendantOf DOMHTMLOptionElement o) => IsDOMHTMLOptionElement o
- toDOMHTMLOptionElement :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m DOMHTMLOptionElement
- noDOMHTMLOptionElement :: Maybe DOMHTMLOptionElement
- dOMHTMLOptionElementGetDefaultSelected :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m Bool
- dOMHTMLOptionElementGetDisabled :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m Bool
- dOMHTMLOptionElementGetForm :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m DOMHTMLFormElement
- dOMHTMLOptionElementGetIndex :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m CLong
- dOMHTMLOptionElementGetLabel :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m Text
- dOMHTMLOptionElementGetSelected :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m Bool
- dOMHTMLOptionElementGetText :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m Text
- dOMHTMLOptionElementGetValue :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> m Text
- dOMHTMLOptionElementSetDefaultSelected :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> Bool -> m ()
- dOMHTMLOptionElementSetDisabled :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> Bool -> m ()
- dOMHTMLOptionElementSetLabel :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> Text -> m ()
- dOMHTMLOptionElementSetSelected :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> Bool -> m ()
- dOMHTMLOptionElementSetValue :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) => a -> Text -> m ()
- constructDOMHTMLOptionElementDefaultSelected :: IsDOMHTMLOptionElement o => Bool -> IO (GValueConstruct o)
- getDOMHTMLOptionElementDefaultSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m Bool
- setDOMHTMLOptionElementDefaultSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Bool -> m ()
- constructDOMHTMLOptionElementDisabled :: IsDOMHTMLOptionElement o => Bool -> IO (GValueConstruct o)
- getDOMHTMLOptionElementDisabled :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m Bool
- setDOMHTMLOptionElementDisabled :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Bool -> m ()
- getDOMHTMLOptionElementForm :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m DOMHTMLFormElement
- getDOMHTMLOptionElementIndex :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m CLong
- constructDOMHTMLOptionElementLabel :: IsDOMHTMLOptionElement o => Text -> IO (GValueConstruct o)
- getDOMHTMLOptionElementLabel :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m (Maybe Text)
- setDOMHTMLOptionElementLabel :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Text -> m ()
- constructDOMHTMLOptionElementSelected :: IsDOMHTMLOptionElement o => Bool -> IO (GValueConstruct o)
- getDOMHTMLOptionElementSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m Bool
- setDOMHTMLOptionElementSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Bool -> m ()
- getDOMHTMLOptionElementText :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m (Maybe Text)
- constructDOMHTMLOptionElementValue :: IsDOMHTMLOptionElement o => Text -> IO (GValueConstruct o)
- getDOMHTMLOptionElementValue :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m (Maybe Text)
- setDOMHTMLOptionElementValue :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Text -> m ()
Exported types
newtype DOMHTMLOptionElement Source #
Memory-managed wrapper type.
Constructors
| DOMHTMLOptionElement (ManagedPtr DOMHTMLOptionElement) |
Instances
| Eq DOMHTMLOptionElement Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMHTMLOptionElement Methods (==) :: DOMHTMLOptionElement -> DOMHTMLOptionElement -> Bool # (/=) :: DOMHTMLOptionElement -> DOMHTMLOptionElement -> Bool # | |
| IsGValue DOMHTMLOptionElement Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMHTMLOptionElement Methods toGValue :: DOMHTMLOptionElement -> IO GValue # fromGValue :: GValue -> IO DOMHTMLOptionElement # | |
| GObject DOMHTMLOptionElement Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMHTMLOptionElement Methods gobjectType :: IO GType # | |
| HasParentTypes DOMHTMLOptionElement Source # | |
| type ParentTypes DOMHTMLOptionElement Source # | |
class (GObject o, IsDescendantOf DOMHTMLOptionElement o) => IsDOMHTMLOptionElement o Source #
Type class for types which can be safely cast to DOMHTMLOptionElement, for instance with toDOMHTMLOptionElement.
Instances
toDOMHTMLOptionElement :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m DOMHTMLOptionElement Source #
Cast to DOMHTMLOptionElement, for types for which this is known to be safe. For general casts, use castTo.
noDOMHTMLOptionElement :: Maybe DOMHTMLOptionElement Source #
A convenience alias for Nothing :: Maybe DOMHTMLOptionElement.
Methods
Overloaded methods
getDefaultSelected
dOMHTMLOptionElementGetDefaultSelected Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getDisabled
dOMHTMLOptionElementGetDisabled Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getForm
dOMHTMLOptionElementGetForm Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m DOMHTMLFormElement | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getIndex
dOMHTMLOptionElementGetIndex Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m CLong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getLabel
dOMHTMLOptionElementGetLabel Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getSelected
dOMHTMLOptionElementGetSelected Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getText
dOMHTMLOptionElementGetText Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
getValue
dOMHTMLOptionElementGetValue Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setDefaultSelected
dOMHTMLOptionElementSetDefaultSelected Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setDisabled
dOMHTMLOptionElementSetDisabled Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setLabel
dOMHTMLOptionElementSetLabel Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> Text |
|
| -> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setSelected
dOMHTMLOptionElementSetSelected Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> Bool |
|
| -> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
setValue
dOMHTMLOptionElementSetValue Source #
Arguments
| :: (HasCallStack, MonadIO m, IsDOMHTMLOptionElement a) | |
| => a |
|
| -> Text |
|
| -> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Properties
defaultSelected
No description available in the introspection data.
constructDOMHTMLOptionElementDefaultSelected :: IsDOMHTMLOptionElement o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “default-selected” property. This is rarely needed directly, but it is used by new.
getDOMHTMLOptionElementDefaultSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m Bool Source #
Get the value of the “default-selected” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #defaultSelected
setDOMHTMLOptionElementDefaultSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Bool -> m () Source #
Set the value of the “default-selected” property.
When overloading is enabled, this is equivalent to
setdOMHTMLOptionElement [ #defaultSelected:=value ]
disabled
No description available in the introspection data.
constructDOMHTMLOptionElementDisabled :: IsDOMHTMLOptionElement o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “disabled” property. This is rarely needed directly, but it is used by new.
getDOMHTMLOptionElementDisabled :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m Bool Source #
Get the value of the “disabled” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #disabled
setDOMHTMLOptionElementDisabled :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Bool -> m () Source #
Set the value of the “disabled” property.
When overloading is enabled, this is equivalent to
setdOMHTMLOptionElement [ #disabled:=value ]
form
No description available in the introspection data.
getDOMHTMLOptionElementForm :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m DOMHTMLFormElement Source #
Get the value of the “form” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #form
index
No description available in the introspection data.
getDOMHTMLOptionElementIndex :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m CLong Source #
Get the value of the “index” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #index
label
No description available in the introspection data.
constructDOMHTMLOptionElementLabel :: IsDOMHTMLOptionElement o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “label” property. This is rarely needed directly, but it is used by new.
getDOMHTMLOptionElementLabel :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m (Maybe Text) Source #
Get the value of the “label” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #label
setDOMHTMLOptionElementLabel :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Text -> m () Source #
Set the value of the “label” property.
When overloading is enabled, this is equivalent to
setdOMHTMLOptionElement [ #label:=value ]
selected
No description available in the introspection data.
constructDOMHTMLOptionElementSelected :: IsDOMHTMLOptionElement o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “selected” property. This is rarely needed directly, but it is used by new.
getDOMHTMLOptionElementSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m Bool Source #
Get the value of the “selected” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #selected
setDOMHTMLOptionElementSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Bool -> m () Source #
Set the value of the “selected” property.
When overloading is enabled, this is equivalent to
setdOMHTMLOptionElement [ #selected:=value ]
text
No description available in the introspection data.
getDOMHTMLOptionElementText :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m (Maybe Text) Source #
Get the value of the “text” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #text
value
No description available in the introspection data.
constructDOMHTMLOptionElementValue :: IsDOMHTMLOptionElement 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.
getDOMHTMLOptionElementValue :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m (Maybe Text) Source #
Get the value of the “value” property.
When overloading is enabled, this is equivalent to
get dOMHTMLOptionElement #value
setDOMHTMLOptionElementValue :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Text -> m () Source #
Set the value of the “value” property.
When overloading is enabled, this is equivalent to
setdOMHTMLOptionElement [ #value:=value ]