### Struct

# WebKit2 NavigationAction

#### 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_frame_name

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 other cases this function will return `NULL`.

Available since: 2.40

###### webkit_navigation_action_get_modifiers

Return the modifier keys.

Available since: 2.6

###### webkit_navigation_action_get_mouse_button

Return the number of the mouse button that triggered the navigation.

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.

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