Class (GI Struct)

WebKit-6.0WebKitNavigationActionAbstract

Provides details about interaction resulting in a resource load.

Index

Constructors

Properties

Methods

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

    Returns string

    The name of the new frame this navigation action targets or null

  • Return the modifier keys.

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

    Returns number

    the modifier keys

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

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

    Returns number

    the mouse button number or 0

  • Return the WebKit.URIRequest 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.

    Returns WebKit.URIRequest

    a WebKit.URIRequest

  • Returns whether the navigation was redirected.

    Returns boolean

    true if the original navigation was redirected, false otherwise.

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

    Returns boolean

    whether navigation action is a user gesture