Table of Contents

Class ScriptWorld

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

ScriptWorld(CreationData)

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

Parameters

data CreationData

ScriptWorld(ScriptWorldHandle)

protected ScriptWorld(ScriptWorldHandle handle)

Parameters

handle ScriptWorldHandle

Fields

WindowObjectClearedSignal

Signal Descriptor for OnWindowObjectCleared.

public static readonly Signal<ScriptWorld, ScriptWorld.WindowObjectClearedSignalArgs> WindowObjectClearedSignal

Field Value

Signal<ScriptWorld, ScriptWorld.WindowObjectClearedSignalArgs>

Methods

GetDefault()

[Version("2.2")]
public static ScriptWorld GetDefault()

Returns

ScriptWorld

GetGType()

public static Type GetGType()

Returns

Type

GetName()

[Version("2.22")]
public string GetName()

Returns

string

New()

[Version("2.2")]
public static ScriptWorld New()

Returns

ScriptWorld

NewFromPointer(nint, bool)

Creates a new managed ScriptWorld instance for a given pointer.

public static ScriptWorld NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

ScriptWorld

NewWithName(string)

[Version("2.22")]
public static ScriptWorld NewWithName(string name)

Parameters

name string

Returns

ScriptWorld

NewWithProperties(ConstructArgument[])

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

public static ScriptWorld NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

ScriptWorld

Events

OnWindowObjectCleared

public event SignalHandler<ScriptWorld, ScriptWorld.WindowObjectClearedSignalArgs> OnWindowObjectCleared

Event Type

SignalHandler<ScriptWorld, ScriptWorld.WindowObjectClearedSignalArgs>