| Copyright | Will Thompson and Iñaki García Etxebarria |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | Safe-Inferred |
| 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
- 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, MonadIO m) => Bool -> m (GValueConstruct o)
- getDOMHTMLOptionElementDefaultSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m Bool
- setDOMHTMLOptionElementDefaultSelected :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Bool -> m ()
- constructDOMHTMLOptionElementDisabled :: (IsDOMHTMLOptionElement o, MonadIO m) => Bool -> m (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, MonadIO m) => Text -> m (GValueConstruct o)
- getDOMHTMLOptionElementLabel :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> m (Maybe Text)
- setDOMHTMLOptionElementLabel :: (MonadIO m, IsDOMHTMLOptionElement o) => o -> Text -> m ()
- constructDOMHTMLOptionElementSelected :: (IsDOMHTMLOptionElement o, MonadIO m) => Bool -> m (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, MonadIO m) => Text -> m (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
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
| (GObject o, IsDescendantOf DOMHTMLOptionElement o) => IsDOMHTMLOptionElement o Source # | |
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.
Methods
Click to display all available methods, including inherited ones
Methods
addEventListener, appendChild, bindProperty, bindPropertyFull, blur, click, cloneNodeWithError, closest, compareDocumentPosition, contains, dispatchEvent, focus, forceFloating, freezeNotify, getv, hasAttribute, hasAttributeNs, hasAttributes, hasChildNodes, htmlInputElementGetAutoFilled, htmlInputElementIsUserEdited, htmlInputElementSetAutoFilled, htmlInputElementSetEditingValue, insertAdjacentElement, insertAdjacentHtml, insertAdjacentText, insertBefore, isDefaultNamespace, isEqualNode, isFloating, isSameNode, isSupported, lookupNamespaceUri, lookupPrefix, matches, normalize, notify, notifyByPspec, querySelector, querySelectorAll, ref, refSink, remove, removeAttribute, removeAttributeNode, removeAttributeNs, removeChild, removeEventListener, replaceChild, requestPointerLock, runDispose, scrollByLines, scrollByPages, scrollIntoView, scrollIntoViewIfNeeded, stealData, stealQdata, thawNotify, unref, watchClosure, webkitMatchesSelector, webkitRequestFullscreen.
Getters
getAccessKey, getAttribute, getAttributeNode, getAttributeNodeNs, getAttributeNs, getAttributes, getBaseUri, getBoundingClientRect, getChildElementCount, getChildNodes, getChildren, getClassList, getClassName, getClientHeight, getClientLeft, getClientRects, getClientTop, getClientWidth, getContentEditable, getData, getDefaultSelected, getDir, getDisabled, getDraggable, getElementsByClassName, getElementsByClassNameAsHtmlCollection, getElementsByTagName, getElementsByTagNameAsHtmlCollection, getElementsByTagNameNs, getElementsByTagNameNsAsHtmlCollection, getFirstChild, getFirstElementChild, getForm, getHidden, getId, getIndex, getInnerHtml, getInnerText, getIsContentEditable, getLabel, getLang, getLastChild, getLastElementChild, getLocalName, getNamespaceUri, getNextElementSibling, getNextSibling, getNodeName, getNodeType, getNodeValue, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOuterHtml, getOuterText, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousElementSibling, getPreviousSibling, getProperty, getQdata, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getSelected, getSpellcheck, getStyle, getTabIndex, getTagName, getText, getTextContent, getTitle, getTranslate, getValue, getWebkitRegionOverset, getWebkitdropzone.
Setters
setAccessKey, setAttribute, setAttributeNode, setAttributeNodeNs, setAttributeNs, setClassName, setContentEditable, setData, setDataFull, setDefaultSelected, setDir, setDisabled, setDraggable, setHidden, setId, setInnerHtml, setInnerText, setLabel, setLang, setNodeValue, setOuterHtml, setOuterText, setPrefix, setProperty, setScrollLeft, setScrollTop, setSelected, setSpellcheck, setTabIndex, setTextContent, setTitle, setTranslate, setValue, setWebkitdropzone.
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, MonadIO m) => Bool -> m (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, MonadIO m) => Bool -> m (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, MonadIO m) => Text -> m (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, MonadIO m) => Bool -> m (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, MonadIO m) => Text -> m (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 ]