WebView.loadAlternateHtml

Load the given content string for the URI content_uri.

This allows clients to display page-loading errors in the #WebKitWebView itself. When this method is called from #WebKitWebView::load-failed signal to show an error page, then the back-forward list is maintained appropriately. For everything else this method works the same way as webkit.web_view.WebView.loadHtml.

class WebView
void
loadAlternateHtml
(
string content
,
string contentUri
,
string baseUri = null
)

Parameters

content string

the new content to display as the main page of the web_view

contentUri string

the URI for the alternate page content

baseUri string

the base URI for relative locations or null