gi-webkit2-4.0.11: WebKit2 bindings

CopyrightWill Thompson, Iñaki García Etxebarria and Jonas Platte
LicenseLGPL-2.1
MaintainerIñaki García Etxebarria (garetxe@gmail.com)
Safe HaskellNone
LanguageHaskell2010

GI.WebKit2.Objects.HitTestResult

Contents

Description

 

Synopsis

Exported types

Methods

contextIsEditable

hitTestResultContextIsEditable Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Bool

Returns: True if there's an editable element at the coordinates of the hitTestResult, or False otherwise

Gets whether HitTestResultContextEditable flag is present in HitTestResult:context.

contextIsImage

hitTestResultContextIsImage Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Bool

Returns: True if there's an image element in the coordinates of the Hit Test, or False otherwise

Gets whether HitTestResultContextImage flag is present in HitTestResult:context.

contextIsLink

hitTestResultContextIsLink Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Bool

Returns: True if there's a link element in the coordinates of the Hit Test, or False otherwise

Gets whether HitTestResultContextLink flag is present in HitTestResult:context.

contextIsMedia

hitTestResultContextIsMedia Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Bool

Returns: True if there's a media element in the coordinates of the Hit Test, or False otherwise

Gets whether HitTestResultContextMedia flag is present in HitTestResult:context.

contextIsScrollbar

hitTestResultContextIsScrollbar Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Bool

Returns: True if there's a scrollbar element at the coordinates of the hitTestResult, or False otherwise

Gets whether HitTestResultContextScrollbar flag is present in HitTestResult:context.

contextIsSelection

hitTestResultContextIsSelection Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Bool

Returns: True if there's a selected element at the coordinates of the hitTestResult, or False otherwise

Gets whether HitTestResultContextSelection flag is present in HitTestResult:context.

Since: 2.8

getContext

hitTestResultGetContext Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Word32

Returns: a bitmask of HitTestResultContext flags

Gets the value of the HitTestResult:context property.

getImageUri

hitTestResultGetImageUri Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Text

Returns: the URI of the image element in the coordinates of the Hit Test, or Nothing if there ins't an image element in hitTestResult context

Gets the value of the HitTestResult:image-uri property.

getLinkLabel

hitTestResultGetLinkLabel Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Text

Returns: the label of the link element in the coordinates of the Hit Test, or Nothing if there ins't a link element in hitTestResult context or the link element doesn't have a label

Gets the value of the HitTestResult:link-label property.

getLinkTitle

hitTestResultGetLinkTitle Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Text

Returns: the title of the link element in the coordinates of the Hit Test, or Nothing if there ins't a link element in hitTestResult context or the link element doesn't have a title

Gets the value of the HitTestResult:link-title property.

getLinkUri

hitTestResultGetLinkUri Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Text

Returns: the URI of the link element in the coordinates of the Hit Test, or Nothing if there ins't a link element in hitTestResult context

Gets the value of the HitTestResult:link-uri property.

getMediaUri

hitTestResultGetMediaUri Source #

Arguments

:: (HasCallStack, MonadIO m, IsHitTestResult a) 
=> a

hitTestResult: a HitTestResult

-> m Text

Returns: the URI of the media element in the coordinates of the Hit Test, or Nothing if there ins't a media element in hitTestResult context

Gets the value of the HitTestResult:media-uri property.

Properties

context

data HitTestResultContextPropertyInfo Source #

Instances

AttrInfo HitTestResultContextPropertyInfo Source # 
type AttrOrigin HitTestResultContextPropertyInfo Source # 
type AttrLabel HitTestResultContextPropertyInfo Source # 
type AttrGetType HitTestResultContextPropertyInfo Source # 
type AttrBaseTypeConstraint HitTestResultContextPropertyInfo Source # 
type AttrSetTypeConstraint HitTestResultContextPropertyInfo Source # 
type AttrAllowedOps HitTestResultContextPropertyInfo Source # 

imageUri

data HitTestResultImageUriPropertyInfo Source #

Instances

AttrInfo HitTestResultImageUriPropertyInfo Source # 
type AttrOrigin HitTestResultImageUriPropertyInfo Source # 
type AttrLabel HitTestResultImageUriPropertyInfo Source # 
type AttrGetType HitTestResultImageUriPropertyInfo Source # 
type AttrBaseTypeConstraint HitTestResultImageUriPropertyInfo Source # 
type AttrSetTypeConstraint HitTestResultImageUriPropertyInfo Source # 
type AttrAllowedOps HitTestResultImageUriPropertyInfo Source # 

linkLabel

data HitTestResultLinkLabelPropertyInfo Source #

Instances

AttrInfo HitTestResultLinkLabelPropertyInfo Source # 
type AttrOrigin HitTestResultLinkLabelPropertyInfo Source # 
type AttrLabel HitTestResultLinkLabelPropertyInfo Source # 
type AttrGetType HitTestResultLinkLabelPropertyInfo Source # 
type AttrBaseTypeConstraint HitTestResultLinkLabelPropertyInfo Source # 
type AttrSetTypeConstraint HitTestResultLinkLabelPropertyInfo Source # 
type AttrAllowedOps HitTestResultLinkLabelPropertyInfo Source # 

linkTitle

data HitTestResultLinkTitlePropertyInfo Source #

Instances

AttrInfo HitTestResultLinkTitlePropertyInfo Source # 
type AttrOrigin HitTestResultLinkTitlePropertyInfo Source # 
type AttrLabel HitTestResultLinkTitlePropertyInfo Source # 
type AttrGetType HitTestResultLinkTitlePropertyInfo Source # 
type AttrBaseTypeConstraint HitTestResultLinkTitlePropertyInfo Source # 
type AttrSetTypeConstraint HitTestResultLinkTitlePropertyInfo Source # 
type AttrAllowedOps HitTestResultLinkTitlePropertyInfo Source # 

linkUri

data HitTestResultLinkUriPropertyInfo Source #

Instances

AttrInfo HitTestResultLinkUriPropertyInfo Source # 
type AttrOrigin HitTestResultLinkUriPropertyInfo Source # 
type AttrLabel HitTestResultLinkUriPropertyInfo Source # 
type AttrGetType HitTestResultLinkUriPropertyInfo Source # 
type AttrBaseTypeConstraint HitTestResultLinkUriPropertyInfo Source # 
type AttrSetTypeConstraint HitTestResultLinkUriPropertyInfo Source # 
type AttrAllowedOps HitTestResultLinkUriPropertyInfo Source # 

mediaUri

data HitTestResultMediaUriPropertyInfo Source #

Instances

AttrInfo HitTestResultMediaUriPropertyInfo Source # 
type AttrOrigin HitTestResultMediaUriPropertyInfo Source # 
type AttrLabel HitTestResultMediaUriPropertyInfo Source # 
type AttrGetType HitTestResultMediaUriPropertyInfo Source # 
type AttrBaseTypeConstraint HitTestResultMediaUriPropertyInfo Source # 
type AttrSetTypeConstraint HitTestResultMediaUriPropertyInfo Source # 
type AttrAllowedOps HitTestResultMediaUriPropertyInfo Source #