EditorState

WebKitEditorState represents the state of a #WebKitWebView editor. Use webkit_web_view_get_editor_state() to get the WebKitEditorState of a #WebKitWebView.

Constructors

this
this(WebKitEditorState* webKitEditorState, bool ownedRef)

Sets our main struct and passes it to the parent class.

Members

Functions

getEditorStateStruct
WebKitEditorState* getEditorStateStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getTypingAttributes
uint getTypingAttributes()

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.

isCopyAvailable
bool isCopyAvailable()

Gets whether a copy command can be issued.

isCutAvailable
bool isCutAvailable()

Gets whether a cut command can be issued.

isPasteAvailable
bool isPasteAvailable()

Gets whether a paste command can be issued.

isRedoAvailable
bool isRedoAvailable()

Gets whether a redo command can be issued.

isUndoAvailable
bool isUndoAvailable()

Gets whether an undo command can be issued.

Static functions

getType
GType getType()

Variables

webKitEditorState
WebKitEditorState* webKitEditorState;

the main Gtk struct

Meta

Since

2.10