webkit.navigation_action

Module for [NavigationAction] class

Types 1

classNavigationAction : gobject.boxed.Boxed

Provides details about interaction resulting in a resource load.

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup) nothrow
GType _getGType() static nothrow
GType _gType() @property nothrow
NavigationAction self() nothrowReturns `this`, for use in `with` statements.
webkit.navigation_action.NavigationAction copy() nothrowMake a copy of navigation. Returns: A copy of passed in #WebKitNavigationAction
string 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...
uint getModifiers() nothrowReturn the modifier keys.
uint getMouseButton() nothrowReturn the number of the mouse button that triggered the navigation.
webkit.types.NavigationType getNavigationType() nothrowReturn the type of action that triggered the navigation. Returns: a #WebKitNavigationType
webkit.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
Constructors
this(void * ptr, Flag!"Take" take)