Frame

Constructors

this
this(WebKitFrame* webKitFrame, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getFrameStruct
WebKitFrame* getFrameStruct(bool transferOwnership)

Get the main Gtk struct

getId
ulong getId()

Gets the process-unique identifier of this #WebKitFrame. No other frame in the same web process will have the same ID; however, frames in other web processes may.

getJavascriptContextForScriptWorld
JSGlobalContextRef getJavascriptContextForScriptWorld(ScriptWorld world)

Gets the JavaScript execution context of @frame for the given #WebKitScriptWorld.

getJavascriptGlobalContext
JSGlobalContextRef getJavascriptGlobalContext()

Gets the global JavaScript execution context. Use this function to bridge between the WebKit and JavaScriptCore APIs.

getJsContext
Context getJsContext()

Get the JavaScript execution context of @frame. Use this function to bridge between the WebKit and JavaScriptCore APIs.

getJsContextForScriptWorld
Context getJsContextForScriptWorld(ScriptWorld world)

Get the JavaScript execution context of @frame for the given #WebKitScriptWorld.

getJsValueForDomObject
Value getJsValueForDomObject(DOMObject domObject)

Get a #JSCValue referencing the given DOM object. The value is created in the JavaScript execution context of @frame.

getJsValueForDomObjectInScriptWorld
Value getJsValueForDomObjectInScriptWorld(DOMObject domObject, ScriptWorld world)

Get a #JSCValue referencing the given DOM object. The value is created in the JavaScript execution context of @frame for the given #WebKitScriptWorld.

getStruct
void* getStruct()

the main Gtk struct as a void*

getUri
string getUri()

Gets the current active URI of @frame.

isMainFrame
bool isMainFrame()

Gets whether @frame is the main frame of a #WebKitWebPage

Static functions

getType
GType getType()

Variables

webKitFrame
WebKitFrame* webKitFrame;

the main Gtk struct

Meta