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
constructArgumentsConstructArgument[]
Frame(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected Frame(CreationData data)
Parameters
dataCreationData
Frame(FrameHandle)
protected Frame(FrameHandle handle)
Parameters
handleFrameHandle
Methods
GetGType()
public static Type GetGType()
Returns
GetId()
[Version("2.26")]
public ulong GetId()
Returns
GetJsContext()
[Version("2.22")]
public Context GetJsContext()
Returns
GetJsContextForScriptWorld(ScriptWorld)
[Version("2.22")]
public Context GetJsContextForScriptWorld(ScriptWorld world)
Parameters
worldScriptWorld
Returns
GetUri()
[Version("2.2")]
public string GetUri()
Returns
IsMainFrame()
[Version("2.2")]
public bool IsMainFrame()
Returns
NewFromPointer(nint, bool)
Creates a new managed Frame instance for a given pointer.
public static Frame NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new Frame and sets the properties specified by the construct arguments.
public static Frame NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.