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)
GType _gType() @property
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 #WebKitNavigationAction
string 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 #WebKitNavigationType
webkit.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
Constructors
this(void * ptr, Flag!"Take" take)