WebView.loadPlainText

void loadPlainText(string plainText)

Load the specified plain_text string into web_view.

The mime type of document will be "text/plain". You can monitor the load operation by connecting to #WebKitWebView::load-changed signal.

Parameters

plainTextThe plain text to load