AppleOpenSource/WebKit2-7609.3.5.1.3/UIProcess/API/glib/WebKitNavigationAction.cpp
/**
 * webkit_navigation_action_get_mouse_button:
 * @navigation: a #WebKitNavigationAction
 *
 * Return the number of the mouse button that triggered the navigation, or 0 if
 * the navigation was not started by a mouse event.
 *
 * Returns: the mouse button number or 0
 *
 * Since: 2.6
 */


Return the number of the mouse button that triggered the navigation, or 0 if
the navigation was not started by a mouse event.

the mouse button number or 0


Return the number of the mouse button that triggered the navigation or 0 if the navigation was not started by a mouse event . the mouse button number or 0
unsigned webkit_navigation_action_get_mouse_button(WebKitNavigationAction* navigation)
{
    g_return_val_if_fail(navigation, 0);
    return toWebKitMouseButton(navigation->action->mouseButton());
}
unsigned webkit_navigation_action_get_mouse_button ( WebKitNavigationAction * navigation ) { g_return_val_if_fail ( navigation , 0 ) ; return toWebKitMouseButton ( navigation -> action -> mouseButton ( ) ) ; }
webkit_navigation_action_get_mouse_button:
 @navigation: a #WebKitNavigationAction
webkit_navigation_action_get_mouse_button : @navigation : a #WebKitNavigationAction