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 _getGType() static nothrow
GType _gType() @property nothrow
EditorState self() nothrowReturns `this`, for use in `with` statements.
EditorStateGidBuilder builder() static nothrowGet builder for [webkit.editor_state.EditorState] Returns: New builder object
uint typingAttributes() @property nothrowGet `typingAttributes` property. Returns: Bitmask of #WebKitEditorTypingAttributes flags. See [webkit.editor_state.EditorState.getTypingAttributes] for more information.
uint getTypingAttributes() nothrowGets the typing attributes at the current cursor position.
bool isCopyAvailable() nothrowGets whether a copy command can be issued. Returns: true if copy is currently available
bool isCutAvailable() nothrowGets whether a cut command can be issued. Returns: true if cut is currently available
bool isPasteAvailable() nothrowGets whether a paste command can be issued. Returns: true if paste is currently available
bool isRedoAvailable() nothrowGets whether a redo command can be issued. Returns: true if redo is currently available
bool isUndoAvailable() nothrowGets 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) nothrowConnect to `Changed` signal.
Constructors
this(void * ptr, Flag!"Take" take)
Methods
EditorState build() nothrowCreate object from builder. Returns: New object