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 |
Result of a Hit Test (Web Process Extensions).
WebKitWebHitTestResult extends HitTestResult
to provide information
about the DOMNode
in the coordinates of the Hit Test.
Since: 2.8
Synopsis
- newtype WebHitTestResult = WebHitTestResult (ManagedPtr WebHitTestResult)
- class (GObject o, IsDescendantOf WebHitTestResult o) => IsWebHitTestResult o
- toWebHitTestResult :: (MonadIO m, IsWebHitTestResult o) => o -> m WebHitTestResult
- webHitTestResultGetJsNode :: (HasCallStack, MonadIO m, IsWebHitTestResult a, IsScriptWorld b) => a -> Maybe b -> m (Maybe Value)
- webHitTestResultGetNode :: (HasCallStack, MonadIO m, IsWebHitTestResult a) => a -> m DOMNode
- constructWebHitTestResultNode :: (IsWebHitTestResult o, MonadIO m, IsDOMNode a) => a -> m (GValueConstruct o)
- getWebHitTestResultNode :: (MonadIO m, IsWebHitTestResult o) => o -> m DOMNode
Exported types
newtype WebHitTestResult Source #
Memory-managed wrapper type.
WebHitTestResult (ManagedPtr WebHitTestResult) |
Instances
Eq WebHitTestResult Source # | |
Defined in GI.WebKit2WebExtension.Objects.WebHitTestResult (==) :: WebHitTestResult -> WebHitTestResult -> Bool # (/=) :: WebHitTestResult -> WebHitTestResult -> Bool # | |
GObject WebHitTestResult Source # | |
ManagedPtrNewtype WebHitTestResult Source # | |
Defined in GI.WebKit2WebExtension.Objects.WebHitTestResult toManagedPtr :: WebHitTestResult -> ManagedPtr WebHitTestResult | |
TypedObject WebHitTestResult Source # | |
HasParentTypes WebHitTestResult Source # | |
IsGValue (Maybe WebHitTestResult) Source # | Convert |
Defined in GI.WebKit2WebExtension.Objects.WebHitTestResult gvalueGType_ :: IO GType gvalueSet_ :: Ptr GValue -> Maybe WebHitTestResult -> IO () gvalueGet_ :: Ptr GValue -> IO (Maybe WebHitTestResult) | |
type ParentTypes WebHitTestResult Source # | |
class (GObject o, IsDescendantOf WebHitTestResult o) => IsWebHitTestResult o Source #
Type class for types which can be safely cast to WebHitTestResult
, for instance with toWebHitTestResult
.
Instances
(GObject o, IsDescendantOf WebHitTestResult o) => IsWebHitTestResult o Source # | |
toWebHitTestResult :: (MonadIO m, IsWebHitTestResult o) => o -> m WebHitTestResult Source #
Cast to WebHitTestResult
, 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
bindProperty, bindPropertyFull, contextIsEditable, contextIsImage, contextIsLink, contextIsMedia, contextIsScrollbar, contextIsSelection, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.
Getters
getContext, getData, getImageUri, getJsNode, getLinkLabel, getLinkTitle, getLinkUri, getMediaUri, getNode, getProperty, getQdata.
Setters
getJsNode
webHitTestResultGetJsNode Source #
:: (HasCallStack, MonadIO m, IsWebHitTestResult a, IsScriptWorld b) | |
=> a |
|
-> Maybe b |
|
-> m (Maybe Value) |
Get the Value
for the DOM node in world
at the coordinates of the Hit Test.
Since: 2.40
getNode
webHitTestResultGetNode Source #
:: (HasCallStack, MonadIO m, IsWebHitTestResult a) | |
=> a |
|
-> m DOMNode | Returns: a |
Deprecated: (Since version 2.40)Use webHitTestResultGetJsNode
instead
Get the DOMNode
in the coordinates of the Hit Test.
Since: 2.8
Properties
node
The DOMNode
constructWebHitTestResultNode :: (IsWebHitTestResult o, MonadIO m, IsDOMNode a) => a -> m (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “node
” property. This is rarely needed directly, but it is used by new
.
getWebHitTestResultNode :: (MonadIO m, IsWebHitTestResult o) => o -> m DOMNode Source #
Get the value of the “node
” property.
When overloading is enabled, this is equivalent to
get
webHitTestResult #node