WebKit2WebExtension.WebEditor¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Name |
Short Description |
---|---|
This signal is emitted for every selection change inside a |
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class WebKit2WebExtension.WebEditor(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Access to editing capabilities of a
WebKit2WebExtension.WebPage
.The
WebKit2WebExtension.WebEditor
provides access to various editing capabilities of aWebKit2WebExtension.WebPage
such as a possibility to react to the current selection inWebKit2WebExtension.WebPage
.New in version 2.10.
- get_page()¶
- Returns:
the associated
WebKit2WebExtension.WebPage
- Return type:
Gets the
WebKit2WebExtension.WebPage
that is associated with theWebKit2WebExtension.WebEditor
.New in version 2.10.
Signal Details¶
- WebKit2WebExtension.WebEditor.signals.selection_changed(web_editor)¶
- Signal Name:
selection-changed
- Flags:
- Parameters:
web_editor (
WebKit2WebExtension.WebEditor
) – The object which received the signal
This signal is emitted for every selection change inside a
WebKit2WebExtension.WebPage
as well as for every caret position change as the caret is a collapsed selection.New in version 2.10.