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
EditorState self()Returns `this`, for use in `with` statements.EditorStateGidBuilder builder()Get builder for [webkit.editor_state.EditorState] Returns: New builder objectuint 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 availablebool isCutAvailable()Gets whether a cut command can be issued. Returns: true if cut is currently availablebool isPasteAvailable()Gets whether a paste command can be issued. Returns: true if paste is currently availablebool isRedoAvailable()Gets whether a redo command can be issued. Returns: true if redo is currently availablebool isUndoAvailable()Gets whether an undo command can be issued. Returns: true if undo is currently availablegulong 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.Fluent builder for [webkit.editor_state.EditorState]
Methods