set_editable
Description:
Sets whether the user is allowed to edit the HTML document.
If editable
is true, this allows the user to edit the HTML
document. If editable
is false, an element in this'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
WebView 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 WebView editable without altering the document or DOM structure.
Parameters:
this |
a WebView |
editable |
a bool indicating the editable state |