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 |
- Exported types
- Methods
- addRange
- collapse
- collapseToEnd
- collapseToStart
- containsNode
- deleteFromDocument
- empty
- extend
- getAnchorNode
- getAnchorOffset
- getBaseNode
- getBaseOffset
- getExtentNode
- getExtentOffset
- getFocusNode
- getFocusOffset
- getIsCollapsed
- getRangeAt
- getRangeCount
- getSelectionType
- modify
- removeAllRanges
- selectAllChildren
- setBaseAndExtent
- setPosition
- Properties
No description available in the introspection data.
Synopsis
- newtype DOMDOMSelection = DOMDOMSelection (ManagedPtr DOMDOMSelection)
- class (GObject o, IsDescendantOf DOMDOMSelection o) => IsDOMDOMSelection o
- toDOMDOMSelection :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMDOMSelection
- dOMDOMSelectionAddRange :: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMRange b) => a -> b -> m ()
- dOMDOMSelectionCollapse :: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) => a -> b -> CULong -> m ()
- dOMDOMSelectionCollapseToEnd :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m ()
- dOMDOMSelectionCollapseToStart :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m ()
- dOMDOMSelectionContainsNode :: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) => a -> b -> Bool -> m Bool
- dOMDOMSelectionDeleteFromDocument :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m ()
- dOMDOMSelectionEmpty :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m ()
- dOMDOMSelectionExtend :: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) => a -> b -> CULong -> m ()
- dOMDOMSelectionGetAnchorNode :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m DOMNode
- dOMDOMSelectionGetAnchorOffset :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m CULong
- dOMDOMSelectionGetBaseNode :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m DOMNode
- dOMDOMSelectionGetBaseOffset :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m CULong
- dOMDOMSelectionGetExtentNode :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m DOMNode
- dOMDOMSelectionGetExtentOffset :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m CULong
- dOMDOMSelectionGetFocusNode :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m DOMNode
- dOMDOMSelectionGetFocusOffset :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m CULong
- dOMDOMSelectionGetIsCollapsed :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m Bool
- dOMDOMSelectionGetRangeAt :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> CULong -> m DOMRange
- dOMDOMSelectionGetRangeCount :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m CULong
- dOMDOMSelectionGetSelectionType :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m Text
- dOMDOMSelectionModify :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> Text -> Text -> Text -> m ()
- dOMDOMSelectionRemoveAllRanges :: (HasCallStack, MonadIO m, IsDOMDOMSelection a) => a -> m ()
- dOMDOMSelectionSelectAllChildren :: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) => a -> b -> m ()
- dOMDOMSelectionSetBaseAndExtent :: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b, IsDOMNode c) => a -> b -> CULong -> c -> CULong -> m ()
- dOMDOMSelectionSetPosition :: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) => a -> b -> CULong -> m ()
- getDOMDOMSelectionAnchorNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode
- getDOMDOMSelectionAnchorOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong
- getDOMDOMSelectionBaseNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode
- getDOMDOMSelectionBaseOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong
- getDOMDOMSelectionExtentNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode
- getDOMDOMSelectionExtentOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong
- getDOMDOMSelectionFocusNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode
- getDOMDOMSelectionFocusOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong
- getDOMDOMSelectionIsCollapsed :: (MonadIO m, IsDOMDOMSelection o) => o -> m Bool
- getDOMDOMSelectionRangeCount :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong
- getDOMDOMSelectionType :: (MonadIO m, IsDOMDOMSelection o) => o -> m (Maybe Text)
Exported types
newtype DOMDOMSelection Source #
Memory-managed wrapper type.
Instances
Eq DOMDOMSelection Source # | |
Defined in GI.WebKit2WebExtension.Objects.DOMDOMSelection (==) :: DOMDOMSelection -> DOMDOMSelection -> Bool # (/=) :: DOMDOMSelection -> DOMDOMSelection -> Bool # | |
GObject DOMDOMSelection Source # | |
ManagedPtrNewtype DOMDOMSelection Source # | |
TypedObject DOMDOMSelection Source # | |
HasParentTypes DOMDOMSelection Source # | |
IsGValue (Maybe DOMDOMSelection) Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.DOMDOMSelection gvalueGType_ :: IO GType # gvalueSet_ :: Ptr GValue -> Maybe DOMDOMSelection -> IO () # gvalueGet_ :: Ptr GValue -> IO (Maybe DOMDOMSelection) # | |
type ParentTypes DOMDOMSelection Source # | |
class (GObject o, IsDescendantOf DOMDOMSelection o) => IsDOMDOMSelection o Source #
Type class for types which can be safely cast to DOMDOMSelection
, for instance with toDOMDOMSelection
.
Instances
(GObject o, IsDescendantOf DOMDOMSelection o) => IsDOMDOMSelection o Source # | |
toDOMDOMSelection :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMDOMSelection Source #
Cast to DOMDOMSelection
, 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
addRange, bindProperty, bindPropertyFull, collapse, collapseToEnd, collapseToStart, containsNode, deleteFromDocument, empty, extend, forceFloating, freezeNotify, getv, isFloating, modify, notify, notifyByPspec, ref, refSink, removeAllRanges, runDispose, selectAllChildren, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getAnchorNode, getAnchorOffset, getBaseNode, getBaseOffset, getData, getExtentNode, getExtentOffset, getFocusNode, getFocusOffset, getIsCollapsed, getProperty, getQdata, getRangeAt, getRangeCount, getSelectionType.
Setters
setBaseAndExtent, setData, setDataFull, setPosition, setProperty.
addRange
dOMDOMSelectionAddRange Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMRange b) | |
=> a |
|
-> b |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
collapse
dOMDOMSelectionCollapse Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> CULong |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
collapseToEnd
dOMDOMSelectionCollapseToEnd Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m () | (Can throw |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
collapseToStart
dOMDOMSelectionCollapseToStart Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m () | (Can throw |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
containsNode
dOMDOMSelectionContainsNode Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> Bool |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
deleteFromDocument
dOMDOMSelectionDeleteFromDocument Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
empty
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
extend
dOMDOMSelectionExtend Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> CULong |
|
-> m () | (Can throw |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getAnchorNode
dOMDOMSelectionGetAnchorNode Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getAnchorOffset
dOMDOMSelectionGetAnchorOffset Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getBaseNode
dOMDOMSelectionGetBaseNode Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getBaseOffset
dOMDOMSelectionGetBaseOffset Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getExtentNode
dOMDOMSelectionGetExtentNode Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getExtentOffset
dOMDOMSelectionGetExtentOffset Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getFocusNode
dOMDOMSelectionGetFocusNode Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m DOMNode | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getFocusOffset
dOMDOMSelectionGetFocusOffset Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getIsCollapsed
dOMDOMSelectionGetIsCollapsed Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m Bool | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getRangeAt
dOMDOMSelectionGetRangeAt Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> CULong |
|
-> m DOMRange |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getRangeCount
dOMDOMSelectionGetRangeCount Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m CULong | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
getSelectionType
dOMDOMSelectionGetSelectionType Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m Text | Returns: A |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
modify
dOMDOMSelectionModify Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> Text |
|
-> Text |
|
-> Text |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
removeAllRanges
dOMDOMSelectionRemoveAllRanges Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a) | |
=> a |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
selectAllChildren
dOMDOMSelectionSelectAllChildren Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
setBaseAndExtent
dOMDOMSelectionSetBaseAndExtent Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b, IsDOMNode c) | |
=> a |
|
-> b |
|
-> CULong |
|
-> c |
|
-> CULong |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
setPosition
dOMDOMSelectionSetPosition Source #
:: (HasCallStack, MonadIO m, IsDOMDOMSelection a, IsDOMNode b) | |
=> a |
|
-> b |
|
-> CULong |
|
-> m () |
Deprecated: (Since version 2.22)Use JavaScriptCore API instead
No description available in the introspection data.
Since: 2.16
Properties
anchorNode
No description available in the introspection data.
getDOMDOMSelectionAnchorNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #
Get the value of the “anchor-node
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #anchorNode
anchorOffset
No description available in the introspection data.
getDOMDOMSelectionAnchorOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #
Get the value of the “anchor-offset
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #anchorOffset
baseNode
No description available in the introspection data.
getDOMDOMSelectionBaseNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #
Get the value of the “base-node
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #baseNode
baseOffset
No description available in the introspection data.
getDOMDOMSelectionBaseOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #
Get the value of the “base-offset
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #baseOffset
extentNode
No description available in the introspection data.
getDOMDOMSelectionExtentNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #
Get the value of the “extent-node
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #extentNode
extentOffset
No description available in the introspection data.
getDOMDOMSelectionExtentOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #
Get the value of the “extent-offset
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #extentOffset
focusNode
No description available in the introspection data.
getDOMDOMSelectionFocusNode :: (MonadIO m, IsDOMDOMSelection o) => o -> m DOMNode Source #
Get the value of the “focus-node
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #focusNode
focusOffset
No description available in the introspection data.
getDOMDOMSelectionFocusOffset :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #
Get the value of the “focus-offset
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #focusOffset
isCollapsed
No description available in the introspection data.
getDOMDOMSelectionIsCollapsed :: (MonadIO m, IsDOMDOMSelection o) => o -> m Bool Source #
Get the value of the “is-collapsed
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #isCollapsed
rangeCount
No description available in the introspection data.
getDOMDOMSelectionRangeCount :: (MonadIO m, IsDOMDOMSelection o) => o -> m CULong Source #
Get the value of the “range-count
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #rangeCount
type
No description available in the introspection data.
getDOMDOMSelectionType :: (MonadIO m, IsDOMDOMSelection o) => o -> m (Maybe Text) Source #
Get the value of the “type
” property.
When overloading is enabled, this is equivalent to
get
dOMDOMSelection #type