### Struct

# WebKit NavigationAction

unstable since: 6.0

#### Description [src]

    struct WebKitNavigationAction {
      /* No available fields */
    }

Provides details about interaction resulting in a resource load.

Available since: 6.0

#### Instance methods

###### webkit_navigation_action_copy

Make a copy of `navigation`.

since: 2.6

###### webkit_navigation_action_free

Free the `WebKitNavigationAction`.

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`.

since: 2.40

###### webkit_navigation_action_get_modifiers

Return the modifier keys.

since: 2.6

###### webkit_navigation_action_get_mouse_button

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

since: 2.6

###### webkit_navigation_action_get_navigation_type

Return the type of action that triggered the navigation.

since: 2.6

###### webkit_navigation_action_get_request

Return the `WebKitURIRequest` associated with the navigation action.

since: 2.6

###### webkit_navigation_action_is_redirect

Returns whether the `navigation` was redirected.

since: 2.20

###### webkit_navigation_action_is_user_gesture

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

since: 2.6