WebKitWebProcessExtension.Frame¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class WebKitWebProcessExtension.Frame(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A web page frame.
Each
WebKitWebPage
has at least one main frame, and can have any number of subframes.New in version 2.26.
- get_id()¶
- Returns:
the identifier of self
- Return type:
Gets the process-unique identifier of this
WebKitWebProcessExtension.Frame
. No other frame in the same web process will have the same ID; however, frames in other web processes may.New in version 2.26.
- get_js_context()¶
- Returns:
the
JavaScriptCore.Context
for the JavaScript execution context of self.- Return type:
Get the JavaScript execution context of self. Use this function to bridge between the WebKit and JavaScriptCore APIs.
New in version 2.22.
- get_js_context_for_script_world(world)¶
- Parameters:
world (
WebKitWebProcessExtension.ScriptWorld
) – aWebKitWebProcessExtension.ScriptWorld
- Returns:
the
JavaScriptCore.Context
for the JavaScript execution context of self for world.- Return type:
Get the JavaScript execution context of self for the given
WebKitWebProcessExtension.ScriptWorld
.New in version 2.22.
- get_uri()¶
-
Gets the current active URI of self.
New in version 2.2.
- is_main_frame()¶
-
Gets whether self is the main frame of a
WebKitWebProcessExtension.WebPage
New in version 2.2.