Class WebHitTestResult
- Namespace
- WebKitWebProcessExtension
- Assembly
- WebKitWebProcessExtension-6.0.dll
public sealed class WebHitTestResult : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
WebHitTestResult
- Implements
- Inherited Members
Constructors
WebHitTestResult(params ConstructArgument[])
[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public WebHitTestResult(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
WebHitTestResult(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WebHitTestResult(CreationData data)
Parameters
dataCreationData
WebHitTestResult(WebHitTestResultHandle)
protected WebHitTestResult(WebHitTestResultHandle handle)
Parameters
handleWebHitTestResultHandle
Methods
ContextIsEditable()
public bool ContextIsEditable()
Returns
ContextIsImage()
public bool ContextIsImage()
Returns
ContextIsLink()
public bool ContextIsLink()
Returns
ContextIsMedia()
public bool ContextIsMedia()
Returns
ContextIsScrollbar()
public bool ContextIsScrollbar()
Returns
ContextIsSelection()
public bool ContextIsSelection()
Returns
GetContext()
public uint GetContext()
Returns
GetGType()
public static Type GetGType()
Returns
GetImageUri()
public string GetImageUri()
Returns
GetJsNode(ScriptWorld?)
[Version("2.40")]
public Value? GetJsNode(ScriptWorld? world)
Parameters
worldScriptWorld
Returns
GetLinkLabel()
public string GetLinkLabel()
Returns
GetLinkTitle()
public string GetLinkTitle()
Returns
GetLinkUri()
public string GetLinkUri()
Returns
GetMediaUri()
public string GetMediaUri()
Returns
NewFromPointer(nint, bool)
Creates a new managed WebHitTestResult instance for a given pointer.
public static WebHitTestResult NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WebHitTestResult and sets the properties specified by the construct arguments.
public static WebHitTestResult NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.