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
constructArgumentsConstructArgument[]
WebInspector(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected WebInspector(CreationData data)
Parameters
dataCreationData
WebInspector(WebInspectorHandle)
protected WebInspector(WebInspectorHandle handle)
Parameters
handleWebInspectorHandle
Fields
AttachSignal
Signal Descriptor for OnAttach.
public static readonly ReturningSignal<WebInspector, bool> AttachSignal
Field Value
AttachedHeightPropertyDefinition
public static readonly Property<uint, WebInspector> AttachedHeightPropertyDefinition
Field Value
BringToFrontSignal
Signal Descriptor for OnBringToFront.
public static readonly ReturningSignal<WebInspector, bool> BringToFrontSignal
Field Value
CanAttachPropertyDefinition
public static readonly Property<bool, WebInspector> CanAttachPropertyDefinition
Field Value
ClosedSignal
Signal Descriptor for OnClosed.
public static readonly Signal<WebInspector> ClosedSignal
Field Value
DetachSignal
Signal Descriptor for OnDetach.
public static readonly ReturningSignal<WebInspector, bool> DetachSignal
Field Value
InspectedUriPropertyDefinition
public static readonly Property<string?, WebInspector> InspectedUriPropertyDefinition
Field Value
OpenWindowSignal
Signal Descriptor for OnOpenWindow.
public static readonly ReturningSignal<WebInspector, bool> OpenWindowSignal
Field Value
Properties
AttachedHeight
public uint AttachedHeight { get; }
Property Value
CanAttach
public bool CanAttach { get; }
Property Value
InspectedUri
public string? InspectedUri { get; }
Property Value
Methods
Attach()
public void Attach()
Close()
public void Close()
Detach()
public void Detach()
GetAttachedHeight()
public uint GetAttachedHeight()
Returns
GetCanAttach()
[Version("2.8")]
public bool GetCanAttach()
Returns
GetGType()
public static Type GetGType()
Returns
GetInspectedUri()
public string GetInspectedUri()
Returns
GetWebView()
public WebViewBase GetWebView()
Returns
IsAttached()
public bool IsAttached()
Returns
NewFromPointer(nint, bool)
Creates a new managed WebInspector instance for a given pointer.
public static WebInspector NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new WebInspector and sets the properties specified by the construct arguments.
public static WebInspector NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
Show()
public void Show()
Events
OnAttach
public event ReturningSignalHandler<WebInspector, bool> OnAttach
Event Type
OnBringToFront
public event ReturningSignalHandler<WebInspector, bool> OnBringToFront
Event Type
OnClosed
public event SignalHandler<WebInspector> OnClosed
Event Type
OnDetach
public event ReturningSignalHandler<WebInspector, bool> OnDetach
Event Type
OnOpenWindow
public event ReturningSignalHandler<WebInspector, bool> OnOpenWindow