AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitNavigationPolicyDecision.cpp
/**
 * webkit_navigation_policy_decision_get_mouse_button:
 * @decision: a #WebKitNavigationPolicyDecision
 *
 * Gets the value of the #WebKitNavigationPolicyDecision:mouse-button property.
 *
 * Returns: The mouse button used if this decision was triggered by a mouse event or 0 otherwise
 *
 * Deprecated: 2.6: Use webkit_navigation_policy_decision_get_navigation_action() instead.
 */


Gets the value of the #WebKitNavigationPolicyDecision:mouse-button property.

The mouse button used if this decision was triggered by a mouse event or 0 otherwise


Gets the value of the #WebKitNavigationPolicyDecision : mouse - button property . The mouse button used if this decision was triggered by a mouse event or 0 otherwise
guint webkit_navigation_policy_decision_get_mouse_button(WebKitNavigationPolicyDecision* decision)
{
    g_return_val_if_fail(WEBKIT_IS_NAVIGATION_POLICY_DECISION(decision), 0);
    return webkit_navigation_action_get_mouse_button(decision->priv->navigationAction);
}
guint webkit_navigation_policy_decision_get_mouse_button ( WebKitNavigationPolicyDecision * decision ) { g_return_val_if_fail ( WEBKIT_IS_NAVIGATION_POLICY_DECISION ( decision ) , 0 ) ; return webkit_navigation_action_get_mouse_button ( decision -> priv -> navigationAction ) ; }
webkit_navigation_policy_decision_get_mouse_button:
 @decision: a #WebKitNavigationPolicyDecision
webkit_navigation_policy_decision_get_mouse_button : @decision : a #WebKitNavigationPolicyDecision