Struct

WPEWebKitNavigationAction

Description [src]

struct WebKitNavigationAction {
  /* No available fields */
}

Provides details about interaction resulting in a resource load.

Instance methods

webkit_navigation_action_copy

Make a copy of navigation.

Available since: 2.6

webkit_navigation_action_free

Free the WebKitNavigationAction.

Available since: 2.6

webkit_navigation_action_get_modifiers

Return a bitmask of GdkModifierType values describing the modifier keys that were in effect when the navigation was requested.

Available since: 2.6

webkit_navigation_action_get_mouse_button

Return the number of the mouse button that triggered the navigation, or 0 if the navigation was not started by a mouse event.

Available since: 2.6

webkit_navigation_action_get_navigation_type

Return the type of action that triggered the navigation.

Available since: 2.6

webkit_navigation_action_get_request

Return the WebKitURIRequest associated 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.

Available since: 2.6

webkit_navigation_action_is_redirect

Returns whether the navigation was redirected.

Available since: 2.20

webkit_navigation_action_is_user_gesture

Return whether the navigation was triggered by a user gesture like a mouse click.

Available since: 2.6