Top |
WebKitEditorState represents the state of a WebKitWebView editor.
Use webkit_web_view_get_editor_state()
to get WebKitEditorState of
a WebKitWebView.
guint
webkit_editor_state_get_typing_attributes
(WebKitEditorState *editor_state
);
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.
Since: 2.10
Enum values with flags representing typing attributes.
No typing attributes. |
||
Bold typing attribute. |
||
Italic typing attribute. |
||
Underline typing attribute. |
||
Strikethrough typing attribute. |
Since: 2.10
“typing-attributes”
property“typing-attributes” guint
Bitmask of WebKitEditorTypingAttributes flags.
See webkit_editor_state_get_typing_attributes()
for more information.
Flags: Read
Default value: 0
Since: 2.10