AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitNavigationAction.cpp
/**
 * webkit_navigation_action_is_user_gesture:
 * @navigation: a #WebKitNavigationAction
 *
 * Return whether the navigation was triggered by a user gesture like a mouse click.
 *
 * Returns: whether navigation action is a user gesture
 *
 * Since: 2.6
 */


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

whether navigation action is a user gesture


Return whether the navigation was triggered by a user gesture like a mouse click . whether navigation action is a user gesture
gboolean webkit_navigation_action_is_user_gesture(WebKitNavigationAction* navigation)
{
    g_return_val_if_fail(navigation, FALSE);
    return navigation->action->isProcessingUserGesture();
}
gboolean webkit_navigation_action_is_user_gesture ( WebKitNavigationAction * navigation ) { g_return_val_if_fail ( navigation , FALSE ) ; return navigation -> action -> isProcessingUserGesture ( ) ; }
webkit_navigation_action_is_user_gesture:
 @navigation: a #WebKitNavigationAction
webkit_navigation_action_is_user_gesture : @navigation : a #WebKitNavigationAction