Table of Contents

Class Frame

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

Constructors

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

Parameters

constructArguments ConstructArgument[]

Frame(CreationData)

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

Parameters

data CreationData

Frame(FrameHandle)

protected Frame(FrameHandle handle)

Parameters

handle FrameHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

GetId()

[Version("2.26")]
public ulong GetId()

Returns

ulong

GetJsContext()

[Version("2.22")]
public Context GetJsContext()

Returns

Context

GetJsContextForScriptWorld(ScriptWorld)

[Version("2.22")]
public Context GetJsContextForScriptWorld(ScriptWorld world)

Parameters

world ScriptWorld

Returns

Context

GetUri()

[Version("2.2")]
public string GetUri()

Returns

string

IsMainFrame()

[Version("2.2")]
public bool IsMainFrame()

Returns

bool

NewFromPointer(nint, bool)

Creates a new managed Frame instance for a given pointer.

public static Frame NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

Frame

NewWithProperties(ConstructArgument[])

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

public static Frame NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

Frame