GObject.Object
WebKit.WebFrame
Import line: | WebKit = imports.gi.WebKit; |
GIR File: | WebKit-3.0.gir |
C documentation: | WebKitWebFrame |
Class : | WebFrame |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
horizontal_scrollbar_policy : Gtk.PolicyType
read only
Determines the current policy for the horizontal scrollbar of
the frame. Determines the current policy for the horizontal scrollbar of
the frame. For the main frame, make sure to set the same policy on the scrollable widget containing the WebKitWebView, unless you know what you are doing. |
WebKit.WebFrame | |
load_status : WebKit.LoadStatus
read only
Determines the current status of the load.
Determines the current status of the load.
|
WebKit.WebFrame | |
name : String
read only
|
WebKit.WebFrame | |
parent_instance : GObject.Object
read only
|
WebKit.WebFrame | |
priv : WebKit.WebFramePrivate
read only
|
WebKit.WebFrame | |
title : String
read only
|
WebKit.WebFrame | |
uri : String
read only
|
WebKit.WebFrame | |
vertical_scrollbar_policy : Gtk.PolicyType
read only
Determines the current policy for the vertical scrollbar of
the frame. Determines the current policy for the vertical scrollbar of
the frame. For the main frame, make sure to set the same policy on the scrollable widget containing the WebKitWebView, unless you know what you are doing. |
WebKit.WebFrame |
Method / Constructor | Defined By | |
---|---|---|
new WebKit.WebFrame
(Object properties)
Create a new WebKit.WebFrame
Create a new WebKit.WebFrame
|
||
Create a new WebKit.WebFrame
Create a new WebKit.WebFrame
|
||
find_frame
(String name)
:
WebKit.WebFrame
For pre-defined names, returns frame if name is "_self" or "_current",
returns frame's parent frame if name is "_parent", and returns the main frame if name is "_top".
For pre-defined names, returns frame if name is "_self" or "_current",
returns frame's parent frame if name is "_parent", and returns the main frame if name is "_top". Also returns frame if it is the main frame and the first frame that matches name. This function searches frame and its descendents first, then frame's parent and its children moving up the hierarchy until a match is found. If no match is found in frame's hierarchy, this function will search for a matching frame in other main frame hierarchies. Returns NULL if no match is found.
|
WebKit.WebFrame | |
get_data_source
()
:
WebKit.WebDataSource
Returns the committed data source.
Returns the committed data source.
|
WebKit.WebFrame | |
get_horizontal_scrollbar_policy
()
:
Gtk.PolicyType
|
WebKit.WebFrame | |
get_load_status
()
:
WebKit.LoadStatus
Determines the current status of the load.
Determines the current status of the load.
|
WebKit.WebFrame | |
get_name
()
:
String
Returns the frame's name
the WebKitWebFrame is invalid or an empty string if it is not backed by a live WebCore frame.
Returns the frame's name
the WebKitWebFrame is invalid or an empty string if it is not backed by a live WebCore frame.
|
WebKit.WebFrame | |
get_network_response
()
:
WebKit.NetworkResponse
Returns a WebKitNetworkResponse object representing the response
that was given to the request for the given frame, or NULL if the frame was not created by a load.
Returns a WebKitNetworkResponse object representing the response
that was given to the request for the given frame, or NULL if the frame was not created by a load. You must unref the object when you are done with it.
|
WebKit.WebFrame | |
get_parent
()
:
WebKit.WebFrame
Returns the frame's parent frame, or NULL if it has none.
Returns the frame's parent frame, or NULL if it has none.
|
WebKit.WebFrame | |
get_provisional_data_source
()
:
WebKit.WebDataSource
You use the webkit_web_frame_load_request method to initiate a request that
creates a provisional data source.
You use the webkit_web_frame_load_request method to initiate a request that
creates a provisional data source. The provisional data source will transition to a committed data source once any data has been received. Use webkit_web_frame_get_data_source to get the committed data source. request is not in progress.
|
WebKit.WebFrame | |
get_security_origin
()
:
WebKit.SecurityOrigin
Returns the frame's security origin.
Returns the frame's security origin.
|
WebKit.WebFrame | |
get_title
()
:
String
Returns the frame's document title
Returns the frame's document title
|
WebKit.WebFrame | |
get_uri
()
:
String
Returns the current URI of the contents displayed by the frame
Returns the current URI of the contents displayed by the frame
|
WebKit.WebFrame | |
get_vertical_scrollbar_policy
()
:
Gtk.PolicyType
|
WebKit.WebFrame | |
get_web_view
()
:
WebKit.WebView
Returns the WebKitWebView that manages this WebKitWebFrame.
Returns the WebKitWebView that manages this WebKitWebFrame.
The WebKitWebView returned manages the entire hierarchy of WebKitWebFrame objects that contains frame.
|
WebKit.WebFrame | |
Request loading of an alternate content for a URL that is unreachable.
Request loading of an alternate content for a URL that is unreachable.
Using this method will preserve the back-forward list. The URI passed in
|
WebKit.WebFrame | |
load_request
(NetworkRequest request)
:
none
Connects to a given URI by initiating an asynchronous client request.
Connects to a given URI by initiating an asynchronous client request.
Creates a provisional data source that will transition to a committed data source once any data has been received. Use webkit_web_frame_stop_loading() to stop the load. This function is typically invoked on the main frame.
|
WebKit.WebFrame | |
Requests loading of the given content with the specified mime_type,
If mime_type is NULL, "text/html" is assumed.
Requests loading of the given content with the specified mime_type,
If mime_type is NULL, "text/html" is assumed. If encoding is NULL, "UTF-8" is assumed.
|
WebKit.WebFrame | |
load_uri
(String uri)
:
none
Requests loading of the specified URI string.
Requests loading of the specified URI string.
|
WebKit.WebFrame | |
print
()
:
none
Prints the given WebKitWebFrame, by presenting a print dialog to the
user.
Prints the given WebKitWebFrame, by presenting a print dialog to the
user. If you need more control over the printing process, see webkit_web_frame_print_full().
|
WebKit.WebFrame | |
Prints the given WebKitWebFrame, using the given GtkPrintOperation
and GtkPrintOperationAction.
Prints the given WebKitWebFrame, using the given GtkPrintOperation
and GtkPrintOperationAction. This function wraps a call to gtk_print_operation_run() for printing the contents of the WebKitWebFrame.
|
WebKit.WebFrame | |
reload
()
:
none
Reloads the initial request.
Reloads the initial request.
|
WebKit.WebFrame | |
stop_loading
()
:
none
Stops any pending loads on frame's data source, and those of its children.
Stops any pending loads on frame's data source, and those of its children.
|
WebKit.WebFrame |
Event | Defined By | |
---|---|---|
cleared (WebFrame self)
:
none
|
WebKit.WebFrame | |
|
WebKit.WebFrame | |
load_committed (WebFrame self)
:
none
|
WebKit.WebFrame | |
Emitted when frame loading is done.
Emitted when frame loading is done.
WebKitWebView::load-error to be notified of load errors
|
WebKit.WebFrame | |
Signal emitted when policy for one or both of the scrollbars of
the view has changed.
Signal emitted when policy for one or both of the scrollbars of
the view has changed. The default handler will apply the new policy to the container that holds the WebKitWebFrame if it is a GtkScrolledWindow and the frame is the main frame. If you do not want this to be handled automatically, you need to handle this signal. The exception to this rule is that policies to disable the scrollbars are applied as GTK_POLICY_AUTOMATIC instead, since the size request of the widget would force browser windows to not be resizable. You can obtain the new policies from the WebKitWebFrame:horizontal-scrollbar-policy and WebKitWebFrame:vertical-scrollbar-policy properties. event. FALSE to propagate the event further.
|
WebKit.WebFrame | |
When a WebKitWebFrame changes the document title this signal is emitted.
When a WebKitWebFrame changes the document title this signal is emitted.
|
WebKit.WebFrame |
Class / Namespace | Method / Signal / Properties |
---|---|
WebKit.IconDatabase
Signal |
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 |
Emitted when the creation of a new window is requested.
|
WebKit.WebView
Signal |
|
WebKit.WebView
Signal |
|
WebKit.WebView
Signal |
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 |
When a WebKitWebFrame loaded the first data this signal is emitted.
|
WebKit.WebView
Signal |
An error occurred while loading.
|
WebKit.WebView
Signal |
|
WebKit.WebView
Signal |
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 |
When a WebKitWebFrame receives an onload event this signal is emitted.
|
WebKit.WebView
Signal |
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 |
A JavaScript alert dialog was created.
|
WebKit.WebView
Signal |
A JavaScript confirm dialog was created, providing Yes and No buttons.
|
WebKit.WebView
Signal |
A JavaScript prompt dialog was created, providing an entry to input text.
|
WebKit.WebView
Signal |
When a WebKitWebFrame changes the document title this signal is emitted.
|
WebKit.WebView
Signal |
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.
|