Signal
WebKit2WebView::load-changed
Declaration
void
load_changed (
WebKitWebView* self,
WebKitLoadEvent load_event,
gpointer user_data
)
Description [src]
Emitted when a load operation in web_view
changes.
The signal is always emitted with WEBKIT_LOAD_STARTED
when a
new load request is made and WEBKIT_LOAD_FINISHED
when the load
finishes successfully or due to an error. When the ongoing load
operation fails WebKitWebView::load-failed
signal is emitted
before WebKitWebView::load-changed
is emitted with
WEBKIT_LOAD_FINISHED
.
If a redirection is received from the server, this signal is emitted
with WEBKIT_LOAD_REDIRECTED
after the initial emission with
WEBKIT_LOAD_STARTED
and before WEBKIT_LOAD_COMMITTED
.
When the page content starts arriving the signal is emitted with
WEBKIT_LOAD_COMMITTED
event.
You can handle this signal and use a switch to track any ongoing load operation.
Default handler: | The default handler is called after the handlers added via |
Parameters
load_event |
WebKitLoadEvent |
The |