Table of Contents

Class WebInspector

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class WebInspector : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
WebInspector
Implements
Inherited Members

Constructors

WebInspector(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 WebInspector(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

WebInspector(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WebInspector(CreationData data)

Parameters

data CreationData

WebInspector(WebInspectorHandle)

protected WebInspector(WebInspectorHandle handle)

Parameters

handle WebInspectorHandle

Fields

AttachSignal

Signal Descriptor for OnAttach.

public static readonly ReturningSignal<WebInspector, bool> AttachSignal

Field Value

ReturningSignal<WebInspector, bool>

AttachedHeightPropertyDefinition

public static readonly Property<uint, WebInspector> AttachedHeightPropertyDefinition

Field Value

Property<uint, WebInspector>

BringToFrontSignal

Signal Descriptor for OnBringToFront.

public static readonly ReturningSignal<WebInspector, bool> BringToFrontSignal

Field Value

ReturningSignal<WebInspector, bool>

CanAttachPropertyDefinition

public static readonly Property<bool, WebInspector> CanAttachPropertyDefinition

Field Value

Property<bool, WebInspector>

ClosedSignal

Signal Descriptor for OnClosed.

public static readonly Signal<WebInspector> ClosedSignal

Field Value

Signal<WebInspector>

DetachSignal

Signal Descriptor for OnDetach.

public static readonly ReturningSignal<WebInspector, bool> DetachSignal

Field Value

ReturningSignal<WebInspector, bool>

InspectedUriPropertyDefinition

public static readonly Property<string?, WebInspector> InspectedUriPropertyDefinition

Field Value

Property<string, WebInspector>

OpenWindowSignal

Signal Descriptor for OnOpenWindow.

public static readonly ReturningSignal<WebInspector, bool> OpenWindowSignal

Field Value

ReturningSignal<WebInspector, bool>

Properties

AttachedHeight

public uint AttachedHeight { get; }

Property Value

uint

CanAttach

public bool CanAttach { get; }

Property Value

bool

InspectedUri

public string? InspectedUri { get; }

Property Value

string

Methods

Attach()

public void Attach()

Close()

public void Close()

Detach()

public void Detach()

GetAttachedHeight()

public uint GetAttachedHeight()

Returns

uint

GetCanAttach()

[Version("2.8")]
public bool GetCanAttach()

Returns

bool

GetGType()

public static Type GetGType()

Returns

Type

GetInspectedUri()

public string GetInspectedUri()

Returns

string

GetWebView()

public WebViewBase GetWebView()

Returns

WebViewBase

IsAttached()

public bool IsAttached()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed WebInspector instance for a given pointer.

public static WebInspector NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

WebInspector

NewWithProperties(ConstructArgument[])

Creates a new WebInspector and sets the properties specified by the construct arguments.

public static WebInspector NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

WebInspector

Show()

public void Show()

Events

OnAttach

public event ReturningSignalHandler<WebInspector, bool> OnAttach

Event Type

ReturningSignalHandler<WebInspector, bool>

OnBringToFront

public event ReturningSignalHandler<WebInspector, bool> OnBringToFront

Event Type

ReturningSignalHandler<WebInspector, bool>

OnClosed

public event SignalHandler<WebInspector> OnClosed

Event Type

SignalHandler<WebInspector>

OnDetach

public event ReturningSignalHandler<WebInspector, bool> OnDetach

Event Type

ReturningSignalHandler<WebInspector, bool>

OnOpenWindow

public event ReturningSignalHandler<WebInspector, bool> OnOpenWindow

Event Type

ReturningSignalHandler<WebInspector, bool>