It derives from <GObject>.
Web editor state.
WebKitEditorState represents the state of a
<WebKitWebView> editor. Use web-view:get-editor-state to get the
WebKitEditorState of a <WebKitWebView>.
Bitmask of
<WebKitEditorTypingAttributes>
flags. See editor-state:get-typing-attributes for more
information.
Its value is an unsigned 32-bit integer.
It is read only.
Gets the typing attributes at the current cursor position.
If there is a selection, this returns the typing attributes of the selected text. Note that in case of a selection, typing attributes are considered active only when they are present throughout the selection.
Passed: a <WebKitEditorState>.
Returned: an unsigned 32-bit integer.
a bitmask of
<WebKitEditorTypingAttributes>
flags
Gets whether a copy command can be issued.
Passed: a <WebKitEditorState>.
Returned: a boolean.
#t if copy is currently available
Gets whether a cut command can be issued.
Passed: a <WebKitEditorState>.
Returned: a boolean.
#t if cut is currently available
Gets whether a paste command can be issued.
Passed: a <WebKitEditorState>.
Returned: a boolean.
#t if paste is currently available
Gets whether a redo command can be issued.
Passed: a <WebKitEditorState>.
Returned: a boolean.
#t if redo is currently available
Gets whether an undo command can be issued.
Passed: a <WebKitEditorState>.
Returned: a boolean.
#t if undo is currently available
Connect a handler with (connect object editor-state:changed
handler). It is called as (handler self).
Emitted when the WebKitEdtorState is changed.
Passed: a <WebKitEditorState>.