WebKit2.NavigationAction¶
Fields¶
None
Methods¶
| 
 | |
| 
 | |
| 
 | |
| 
 | |
Details¶
- class WebKit2.NavigationAction¶
- Provides details about interaction resulting in a resource load. - copy()¶
- Returns:
- A copy of passed in - WebKit2.NavigationAction
- Return type:
 - Make a copy of self. - New in version 2.6. 
 - free()¶
- Free the - WebKit2.NavigationAction- New in version 2.6. 
 - get_frame_name()¶
- 
Gets the self target frame name. For example if navigation was triggered by clicking a link with a target attribute equal to “_blank”, this will return the value of that attribute. In all other cases this function will return None.New in version 2.40. 
 - get_modifiers()¶
- Returns:
- the modifier keys 
- Return type:
 - Return the modifier keys. - Return a bitmask of - Gdk.ModifierTypevalues describing the modifier keys that were in effect when the navigation was requested- New in version 2.6. 
 - get_mouse_button()¶
- Returns:
- the mouse button number or 0 
- Return type:
 - Return the number of the mouse button that triggered the navigation. - Return the number of the mouse button that triggered the navigation, or 0 if the navigation was not started by a mouse event. - New in version 2.6. 
 - get_navigation_type()¶
- Returns:
- Return type:
 - Return the type of action that triggered the navigation. - New in version 2.6. 
 - get_request()¶
- Returns:
- Return type:
 - Return the - WebKit2.URIRequestassociated with the navigation action.- Modifications to the returned object are not taken into account when the request is sent over the network, and is intended only to aid in evaluating whether a navigation action should be taken or not. To modify requests before they are sent over the network the #WebKitPage::send-request signal can be used instead. - New in version 2.6. 
 - is_redirect()¶
- 
Returns whether the self was redirected. New in version 2.20.