Back to Seed Clases

WebKit


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker WebKit.WebFrame

Class WebKit.WebFrame

Import line: WebKit = imports.gi.WebKit;
GIR File: WebKit-3.0.gir
C documentation: WebKitWebFrame
Class : WebFrame
Extends: GObject.Object
A WebKitWebView contains a main WebKitWebFrame. A WebKitWebFrame
contains the content of one URI. The URI and name of the frame can
be retrieved, the load status and progress can be observed using the
signals and can be controlled using the methods of the WebKitWebFrame.
A WebKitWebFrame can have any number of children and one child can
be found by using webkit_web_frame_find_frame.

/* Get the frame from the WebKitWebView */
WebKitWebFrame *frame = webkit_web_view_get_main_frame (WEBKIT_WEB_VIEW(my_view));
g_print("The URI of this frame is 's'", webkit_web_frame_get_uri (frame));
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
WebKit.IconDatabase
Signal
icon_loaded (IconDatabase self, WebFrame frame, String frame_uri) : none
This signal is emitted when a favicon is available for a page,
or a child frame.
WebKit.WebDataSource
Method
get_web_frame () : WebKit.WebFrame
Returns the WebKitWebFrame that represents this data source
the data_source.
WebKit.WebView
Signal
create_web_view (WebView self, WebFrame frame) : WebKit.WebView
Emitted when the creation of a new window is requested.
WebKit.WebView
Signal
document_load_finished (WebView self, WebFrame object) : none
WebKit.WebView
Signal
frame_created (WebView self, WebFrame object) : none
WebKit.WebView
Signal
geolocation_policy_decision_cancelled (WebView self, WebFrame frame) : none
When a frame wants to cancel geolocation permission it had requested
before.
WebKit.WebView
Signal
geolocation_policy_decision_requested (WebView self, WebFrame frame, GeolocationPolicyDecision policy_decision) : gboolean
This signal is emitted when a frame wants to obtain the user's
location.
WebKit.WebView
Signal
load_committed (WebView self, WebFrame frame) : none
When a WebKitWebFrame loaded the first data this signal is emitted.
WebKit.WebView
Signal
load_error (WebView self, WebFrame web_frame, String uri, void* web_error) : gboolean
An error occurred while loading.
WebKit.WebView
Signal
load_finished (WebView self, WebFrame frame) : none
WebKit.WebView
Signal
load_started (WebView self, WebFrame frame) : none
When a WebKitWebFrame begins to load this signal is emitted.
WebKit.WebView
Signal
mime_type_policy_decision_requested (WebView self, WebFrame frame, NetworkRequest request, String mimetype, WebPolicyDecision policy_decision) : gboolean
Decide whether or not to display the given MIME type.
WebKit.WebView
Signal
navigation_policy_decision_requested (WebView self, WebFrame frame, NetworkRequest request, WebNavigationAction navigation_action, WebPolicyDecision policy_decision) : gboolean
Emitted when frame requests a navigation to another page.
WebKit.WebView
Signal
navigation_requested (WebView self, WebFrame frame, NetworkRequest request) : WebKit.NavigationResponse
Emitted when frame requests a navigation to another page.
WebKit.WebView
Signal
new_window_policy_decision_requested (WebView self, WebFrame frame, NetworkRequest request, WebNavigationAction navigation_action, WebPolicyDecision policy_decision) : gboolean
Emitted when frame requests opening a new window.
WebKit.WebView
Signal
onload_event (WebView self, WebFrame frame) : none
When a WebKitWebFrame receives an onload event this signal is emitted.
WebKit.WebView
Signal
print_requested (WebView self, WebFrame web_frame) : gboolean
Emitted when printing is requested by the frame, usually
because of a javascript call.
WebKit.WebView
Signal
resource_request_starting (WebView self, WebFrame web_frame, WebResource web_resource, NetworkRequest request, NetworkResponse response) : none
Emitted when a request is about to be sent.
WebKit.WebView
Signal
script_alert (WebView self, WebFrame frame, String message) : gboolean
A JavaScript alert dialog was created.
WebKit.WebView
Signal
script_confirm (WebView self, WebFrame frame, String message, void* confirmed) : gboolean
A JavaScript confirm dialog was created, providing Yes and No buttons.
WebKit.WebView
Signal
script_prompt (WebView self, WebFrame frame, String message, String default, void* text) : gboolean
A JavaScript prompt dialog was created, providing an entry to input text.
WebKit.WebView
Signal
title_changed (WebView self, WebFrame frame, String title) : none
When a WebKitWebFrame changes the document title this signal is emitted.
WebKit.WebView
Signal
window_object_cleared (WebView self, WebFrame frame, void* context, void* window_object) : none
Emitted when the JavaScript window object in a WebKitWebFrame has been
cleared in preparation for a new load.
WebKit.WebView
Method
get_focused_frame () : WebKit.WebFrame
Returns the frame that has focus or an active text selection.
WebKit.WebView
Method
get_main_frame () : WebKit.WebFrame
Returns the main frame for the webView.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:18:03 GMT+0800 (HKT)