WebView.loadBytes

Load the specified @bytes into @web_view using the given @mime_type and @encoding. When @mime_type is %NULL, it defaults to "text/html". When @encoding is %NULL, it defaults to "UTF-8". When @base_uri is %NULL, it defaults to "about:blank". You can monitor the load operation by connecting to #WebKitWebView::load-changed signal.

class WebView
void
loadBytes
(
Bytes bytes
,
string mimeType
,
string encoding
,
string baseUri
)

Parameters

bytes Bytes

input data to load

mimeType string

the MIME type of @bytes, or %NULL

encoding string

the character encoding of @bytes, or %NULL

baseUri string

the base URI for relative locations or %NULL

Meta

Since

2.6