webkit.navigation_action
Module for [NavigationAction] class
class NavigationAction
Types 1
classNavigationAction : gobject.boxed.Boxed
Provides details about interaction resulting in a resource load.
Methods
NavigationAction self()Returns `this`, for use in `with` statements.webkit.navigation_action.NavigationAction copy()Make a copy of navigation. Returns: A copy of passed in #WebKitNavigationActionstring getFrameName()Gets the navigation 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 othe...uint getModifiers()Return the modifier keys.uint getMouseButton()Return the number of the mouse button that triggered the navigation.webkit.types.NavigationType getNavigationType()Return the type of action that triggered the navigation. Returns: a #WebKitNavigationTypewebkit.urirequest.URIRequest getRequest()Return the #WebKitURIRequest associated with the navigation action.bool isRedirect()Returns whether the navigation was redirected. Returns: true if the original navigation was redirected, false otherwise.bool isUserGesture()Return whether the navigation was triggered by a user gesture like a mouse click. Returns: whether navigation action is a user gesture