GObject.Object
WebKit.WebPolicyDecision
| Import line: | WebKit = imports.gi.WebKit; |
| GIR File: | WebKit-3.0.gir |
| C documentation: | WebKitWebPolicyDecision |
| Class : | WebPolicyDecision |
| Extends: | GObject.Object |
| Properties | Defined By | |
|---|---|---|
|
parent_instance : GObject.Object
read only
|
WebKit.WebPolicyDecision | |
|
priv : WebKit.WebPolicyDecisionPrivate
read only
|
WebKit.WebPolicyDecision | |
| Method / Constructor | Defined By | |
|---|---|---|
|
new WebKit.WebPolicyDecision
(Object properties)
Create a new WebKit.WebPolicyDecision
Create a new WebKit.WebPolicyDecision
|
||
|
download
()
:
none
Will send the DOWNLOAD decision to the policy implementer.
Will send the DOWNLOAD decision to the policy implementer.
|
WebKit.WebPolicyDecision | |
|
ignore
()
:
none
Will send the IGNORE decision to the policy implementer.
Will send the IGNORE decision to the policy implementer.
|
WebKit.WebPolicyDecision | |
|
use
()
:
none
Will send the USE decision to the policy implementer.
Will send the USE decision to the policy implementer.
|
WebKit.WebPolicyDecision | |
| None |
| Class / Namespace | Method / Signal / Properties |
|---|---|
|
WebKit.WebView
Signal |
mime_type_policy_decision_requested
(WebView self, WebFrame frame, NetworkRequest request, String mimetype, WebPolicyDecision policy_decision)
:
gboolean
Decide whether or not to display the given MIME type.
|
|
WebKit.WebView
Signal |
navigation_policy_decision_requested
(WebView self, WebFrame frame, NetworkRequest request, WebNavigationAction navigation_action, WebPolicyDecision policy_decision)
:
gboolean
Emitted when frame requests a navigation to another page.
|
|
WebKit.WebView
Signal |
new_window_policy_decision_requested
(WebView self, WebFrame frame, NetworkRequest request, WebNavigationAction navigation_action, WebPolicyDecision policy_decision)
:
gboolean
Emitted when frame requests opening a new window.
|