GObject.Object
WebKit.WebNavigationAction
Import line: | WebKit = imports.gi.WebKit; |
GIR File: | WebKit-3.0.gir |
C documentation: | WebKitWebNavigationAction |
Class : | WebNavigationAction |
Extends: | GObject.Object |
Properties | Defined By | |
---|---|---|
button : gint32
The GTK+ identifier for the mouse button used to click.
The GTK+ identifier for the mouse button used to click. Notice that GTK+ button values
are 1, 2 and 3 for left, middle and right buttons, so they are DOM button values +1. If the action was not initiated by a mouse click the value will be -1. |
WebKit.WebNavigationAction | |
modifier_state : gint32
The state of the modifier keys when the action was requested.
The state of the modifier keys when the action was requested.
|
WebKit.WebNavigationAction | |
original_uri : String
The URI that was requested as the target for the navigation.
The URI that was requested as the target for the navigation.
|
WebKit.WebNavigationAction | |
parent_instance : GObject.Object
read only
|
WebKit.WebNavigationAction | |
priv : WebKit.WebNavigationActionPrivate
read only
|
WebKit.WebNavigationAction | |
reason : WebKit.WebNavigationReason
The reason why this navigation is occuring.
The reason why this navigation is occuring.
|
WebKit.WebNavigationAction | |
target_frame : String
The target frame for the navigation.
The target frame for the navigation.
|
WebKit.WebNavigationAction |
Method / Constructor | Defined By | |
---|---|---|
new WebKit.WebNavigationAction
(Object properties)
Create a new WebKit.WebNavigationAction
Create a new WebKit.WebNavigationAction
|
||
get_button
()
:
gint32
The GTK+ identifier for the mouse button used to click.
The GTK+ identifier for the mouse button used to click. Notice that GTK+ button values
are 1, 2 and 3 for left, middle and right buttons, so they are DOM button values +1. If the action was not initiated by a mouse click the value will be -1.
|
WebKit.WebNavigationAction | |
get_modifier_state
()
:
gint32
Returns a bitmask with the the state of the modifier keys.
Returns a bitmask with the the state of the modifier keys.
|
WebKit.WebNavigationAction | |
get_original_uri
()
:
String
Returns the URI that was originally requested.
Returns the URI that was originally requested. This may differ from the
navigation target, for instance because of a redirect.
|
WebKit.WebNavigationAction | |
get_reason
()
:
WebKit.WebNavigationReason
Returns the reason why WebKit is requesting a navigation.
Returns the reason why WebKit is requesting a navigation.
|
WebKit.WebNavigationAction | |
get_target_frame
()
:
String
Returns the target frame of the action.
Returns the target frame of the action.
if there is no target.
|
WebKit.WebNavigationAction | |
set_original_uri
(String originalUri)
:
none
Sets the URI that was originally requested.
Sets the URI that was originally requested. This may differ from the
navigation target, for instance because of a redirect.
|
WebKit.WebNavigationAction | |
set_reason
(WebNavigationReason reason)
:
none
Sets the reason why WebKit is requesting a navigation.
Sets the reason why WebKit is requesting a navigation.
|
WebKit.WebNavigationAction |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
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.
|