webkitwebprocessextension.frame

Module for [Frame] class

Types 3

A web page frame.

Each [webkitwebprocessextension.web_page.WebPage] has at least one main frame, and can have any number of subframes.

Methods
GType _gType() @property
Frame self()Returns `this`, for use in `with` statements.
FrameGidBuilder builder()Get builder for [webkitwebprocessextension.frame.Frame] Returns: New builder object
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. Returns: the identifier of frame
javascriptcore.context.Context getJsContext()Get the JavaScript execution context of frame. Use this function to bridge between the WebKit and JavaScriptCore APIs. Returns: the #JSCContext for the JavaScript execution context of frame.
javascriptcore.context.Context getJsContextForScriptWorld(webkitwebprocessextension.script_world.ScriptWorld world)Get the JavaScript execution context of frame for the given #WebKitScriptWorld.
string getUri()Gets the current active URI of frame. Returns: the current active URI of frame or null if nothing has been loaded yet.
bool isMainFrame()Gets whether frame is the main frame of a #WebKitWebPage Returns: true if frame is a main frame or false otherwise
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [webkitwebprocessextension.frame.Frame]

Methods