WebPage
Object Hierarchy:
Description:
A loaded web page.
Namespace: WebKit
Package: webkit2gtk-web-extension-4.0
Content:
Properties:
Creation methods:
- protected WebPage ()
Methods:
- public unowned Document get_dom_document ()
Get the Document currently loaded in this
- public unowned WebEditor get_editor ()
Gets the WebEditor of a WebPage.
- public unowned WebFormManager get_form_manager (ScriptWorld? world)
Get the WebFormManager of this in
world
. - public uint64 get_id ()
Get the identifier of the WebPage
- public unowned Frame get_main_frame ()
Returns the main frame of a WebPage.
- public unowned string get_uri ()
Returns the current active URI of this.
- public async UserMessage send_message_to_view (UserMessage message, Cancellable? cancellable) throws Error
Send
message
to theWebKitWebView
corresponding to this.
Signals:
- public signal void console_message_sent (ConsoleMessage console_message)
Emitted when a message is sent to the console.
- public signal bool context_menu (ContextMenu context_menu, WebHitTestResult hit_test_result)
Emitted before a context menu is displayed in the UI Process to give the application a chance to customize the proposed menu, build its own context menu or pass user data to the UI Process.
- public signal void document_loaded ()
This signal is emitted when the DOM document of a WebPage has been loaded.
- public signal void form_controls_associated (GenericArray<Element> elements)
Emitted after form elements (or form associated elements) are associated to a particular web page.
- public signal void form_controls_associated_for_frame (GenericArray<Element> elements, Frame frame)
Emitted after form elements (or form associated elements) are associated to a particular web page.
- public signal bool send_request (URIRequest request, URIResponse redirected_response)
This signal is emitted when
request
is about to be sent to the server. - public signal bool user_message_received (UserMessage message)
This signal is emitted when a UserMessage is received from the
WebKitWebView
corresponding toweb_page
. - public signal void will_submit_form (Element form, FormSubmissionStep step, Frame source_frame, Frame target_frame, GenericArray<string> text_field_names, GenericArray<string> text_field_values)
This signal is emitted to indicate various points during form submission.
Inherited Members:
All known members inherited from class GLib.Object