WebKit2.NavigationPolicyDecision (original) (raw)
Class
WebKit2NavigationPolicyDecision
Description [src]
class WebKit2.NavigationPolicyDecision : WebKit2.PolicyDecision
{
priv: WebKitNavigationPolicyDecisionPrivate*
}
A policy decision for navigation actions.
WebKitNavigationPolicyDecision represents a policy decision for events associated with navigations. If the value of WebKitNavigationPolicyDecision:mouse-button
is not 0, then the navigation was triggered by a mouse event.
Instance methods
Methods inherited from GObject (43)
Please see GObject for a full list of methods.
Properties
WebKit2.NavigationPolicyDecision:frame-name
If this navigation request targets a new frame, this property contains the name of that frame. For example if the decision was triggered by clicking a link with a target attribute equal to “_blank”, this property will contain the value of that attribute. In all other cases, this value will be NULL
.
deprecated: 2.40
WebKit2.NavigationPolicyDecision:modifiers
If the navigation associated with this policy decision was originally triggered by a mouse event, this property contains a bitmask of variousGdkModifierType
values describing the modifiers used for that click. If the navigation was not triggered by a mouse event or no modifiers were active, the value of this property will be zero.
deprecated: 2.6
WebKit2.NavigationPolicyDecision:mouse-button
If the navigation associated with this policy decision was originally triggered by a mouse event, this property contains non-zero button number of the button triggering that event. The button numbers match those from GDK. If the navigation was not triggered by a mouse event, the value of this property will be 0.
deprecated: 2.6
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct WebKit2NavigationPolicyDecisionClass {
WebKitPolicyDecisionClass parent_class;
void (* _webkit_reserved0) (
void
);
void (* _webkit_reserved1) (
void
);
void (* _webkit_reserved2) (
void
);
void (* _webkit_reserved3) (
void
);
}
No description available.
Class members
parent_class: WebKitPolicyDecisionClass
No description available.
_webkit_reserved0: void (* _webkit_reserved0) ( void )
No description available.
_webkit_reserved1: void (* _webkit_reserved1) ( void )
No description available.
_webkit_reserved2: void (* _webkit_reserved2) ( void )
No description available.
_webkit_reserved3: void (* _webkit_reserved3) ( void )
No description available.