Top | Description | Object Hierarchy |
struct WebKitFrame; gboolean webkit_frame_is_main_frame (WebKitFrame *frame
); const gchar * webkit_frame_get_uri (WebKitFrame *frame
); JSGlobalContextRef webkit_frame_get_javascript_global_context (WebKitFrame *frame
); JSGlobalContextRef webkit_frame_get_javascript_context_for_script_world (WebKitFrame *frame
,WebKitScriptWorld *world
);
gboolean webkit_frame_is_main_frame (WebKitFrame *frame
);
Gets whether frame
is the a main frame of a WebKitWebPage
|
a WebKitFrame |
Returns : |
TRUE if frame is a main frame or FALSE otherwise |
Since 2.2
const gchar * webkit_frame_get_uri (WebKitFrame *frame
);
Gets the current active URI of frame
.
|
a WebKitFrame |
Returns : |
the current active URI of frame or NULL if nothing has been
loaded yet. |
Since 2.2
JSGlobalContextRef webkit_frame_get_javascript_global_context
(WebKitFrame *frame
);
Gets the global JavaScript execution context. Use this function to bridge between the WebKit and JavaScriptCore APIs.
|
a WebKitFrame |
Returns : |
the global JavaScript context of frame . [transfer none]
|
Since 2.2
JSGlobalContextRef webkit_frame_get_javascript_context_for_script_world (WebKitFrame *frame
,WebKitScriptWorld *world
);
Gets the JavaScript execution context of frame
for the given WebKitScriptWorld.
|
a WebKitFrame |
|
a WebKitScriptWorld |
Returns : |
the JavaScript context of frame for world . [transfer none]
|
Since 2.2