WebView.setEditable

Sets whether the user is allowed to edit the HTML document.

If @editable is %TRUE, @web_view allows the user to edit the HTML document. If @editable is %FALSE, an element in @web_view's document can only be edited if the CONTENTEDITABLE attribute has been set on the element or one of its parent elements. By default a #WebKitWebView is not editable.

Normally, a HTML document is not editable unless the elements within the document are editable. This function provides a way to make the contents of a #WebKitWebView editable without altering the document or DOM structure.

class WebView
void
setEditable
()

Parameters

editable bool

a #gboolean indicating the editable state

Meta

Since

2.8