WebKit.NavigationPolicyDecision

g GObject.Object GObject.Object WebKit.PolicyDecision WebKit.PolicyDecision GObject.Object->WebKit.PolicyDecision WebKit.NavigationPolicyDecision WebKit.NavigationPolicyDecision WebKit.PolicyDecision->WebKit.NavigationPolicyDecision

Subclasses:

None

Methods

Inherited:

WebKit.PolicyDecision (4), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

get_navigation_action ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

navigation-action

WebKit.NavigationAction

r

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class WebKit.NavigationPolicyDecision(**kwargs)
Bases:

WebKit.PolicyDecision

Abstract:

No

Structure:

WebKit.NavigationPolicyDecisionClass

A policy decision for navigation actions.

WebKit.NavigationPolicyDecision represents a policy decision for events associated with navigations. If the value of WebKit.NavigationPolicyDecision :mouse-button is not 0, then the navigation was triggered by a mouse event.

get_navigation_action()
Returns:

The WebKit.NavigationAction triggering this policy decision.

Return type:

WebKit.NavigationAction

Gets the value of the WebKit.NavigationPolicyDecision :navigation-action property.

New in version 2.6.

Property Details

WebKit.NavigationPolicyDecision.props.navigation_action
Name:

navigation-action

Type:

WebKit.NavigationAction

Default Value:

None

Flags:

READABLE

The WebKit.NavigationAction that triggered this policy decision.

New in version 2.6.