OlDetermineMouseAction(3W) — MISC REFERENCE MANUAL PAGES
Dynamic Settings
NAME
OlDetermineMouseAction
SYNOPSIS
#include <OpenLook.h>
#include <Dynamic.h>
...
extern ButtonAction OlDetermineMouseAction(w, event)
Widget w;
XEvent ∗ event;
DESCRIPTION
The OlDetermineMouseAction function is used to determine the kind of mouse gesture that is being attempted: MOUSE_CLICK, MOUSE_MULTI_CLICK, or MOUSE_MOVE. This function is normally called immediately upon receipt of a mouse button press event. It uses the current settings for mouseDampingFactor and multiClickTimeout to determine the kind of gesture being made.
SEE ALSO
OlDragAndDrop(3), OlGrabDragPointer(3), OlUngrabDragPointer(3)
NOTE
This function performs an active pointer grab. This grab is released for the CLICK type actions but not for MOUSE_MOVE. It is the responsibility of the caller to ungrab the pointer if the action is MOUSE_MOVE.
Sun Release 4.1 — Last change: {:heading=>"OlDetermineMouseAction\|(\|3W\|)\0\0\(em\0\0\∗(]D"}