WebKit2WebExtension.WebEditor

g GObject.Object GObject.Object WebKit2WebExtension.WebEditor WebKit2WebExtension.WebEditor GObject.Object->WebKit2WebExtension.WebEditor

Subclasses:None

Methods

Inherited:GObject.Object (37)
Structs:GObject.ObjectClass (5)
  get_page ()

Virtual Methods

Inherited:GObject.Object (7)

Properties

None

Signals

Inherited:GObject.Object (1)
Name Short Description
selection-changed 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.

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent GObject.Object r  

Class Details

class WebKit2WebExtension.WebEditor(**kwargs)
Bases:GObject.Object
Abstract:No
Structure:WebKit2WebExtension.WebEditorClass
get_page()
Returns:the associated WebKit2WebExtension.WebPage
Return type:WebKit2WebExtension.WebPage

Gets the WebKit2WebExtension.WebPage that is associated with the WebKit2WebExtension.WebEditor that can be used to access the WebKit2WebExtension.DOMDocument currently loaded into it.

New in version 2.10.

Signal Details

WebKit2WebExtension.WebEditor.signals.selection_changed(web_editor)
Signal Name:selection-changed
Flags:RUN_LAST
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.