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
webkit.navigation_action.NavigationAction copy() nothrowMake a copy of navigation. Returns: A copy of passed in #WebKitNavigationActionstring getFrameName() nothrowGets 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...webkit.types.NavigationType getNavigationType() nothrowReturn the type of action that triggered the navigation. Returns: a #WebKitNavigationTypewebkit.urirequest.URIRequest getRequest() nothrowReturn the #WebKitURIRequest associated with the navigation action.bool isRedirect() nothrowReturns whether the navigation was redirected. Returns: true if the original navigation was redirected, false otherwise.bool isUserGesture() nothrowReturn whether the navigation was triggered by a user gesture like a mouse click. Returns: whether navigation action is a user gesture