webkit.editor_state

Module for [EditorState] class

Types 3

Web editor state.

WebKitEditorState represents the state of a #WebKitWebView editor. Use [webkit.web_view.WebView.getEditorState] to get the WebKitEditorState of a #WebKitWebView.

Methods
GType _gType() @property
EditorState self()Returns `this`, for use in `with` statements.
EditorStateGidBuilder builder()Get builder for [webkit.editor_state.EditorState] Returns: New builder object
uint typingAttributes() @propertyGet `typingAttributes` property. Returns: Bitmask of #WebKitEditorTypingAttributes flags. See [webkit.editor_state.EditorState.getTypingAttributes] for more information.
uint getTypingAttributes()Gets the typing attributes at the current cursor position.
bool isCopyAvailable()Gets whether a copy command can be issued. Returns: true if copy is currently available
bool isCutAvailable()Gets whether a cut command can be issued. Returns: true if cut is currently available
bool isPasteAvailable()Gets whether a paste command can be issued. Returns: true if paste is currently available
bool isRedoAvailable()Gets whether a redo command can be issued. Returns: true if redo is currently available
bool isUndoAvailable()Gets whether an undo command can be issued. Returns: true if undo is currently available
gulong connectChanged(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == void) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] : webkit.editor_state.EditorState))) && Parameters!T.length < 2)Connect to `Changed` signal.
Constructors
this(void * ptr, Flag!"Take" take)

Fluent builder for [webkit.editor_state.EditorState]