WebKit.NavigationPolicyDecision¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class WebKit.NavigationPolicyDecision(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A policy decision for navigation actions.
WebKit.NavigationPolicyDecision
represents a policy decision for events associated with navigations. If the value ofWebKit.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:
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:
- Default Value:
- Flags:
The
WebKit.NavigationAction
that triggered this policy decision.New in version 2.6.