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_load_html().

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

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

Meta