LookupOlInputEvent(3W) — MISC. REFERENCE MANUAL PAGES
Dynamic Settings
NAME
LookupOlInputEvent
SYNOPSIS
#include <OpenLook.h>
#include <Dynamic.h>
...
extern OlInputEvent LookupOlInputEvent(w, event, keysym, buffer, length)
Widget w;
XEvent ∗ event;
KeySym ∗ keysym;
char ∗∗ buffer;
int ∗ length;
DESCRIPTION
The LookupOlInputEvent function is used to decode the event for widget w to an OlInputEvent. The event passed should be a ButtonPress, ButtonRelease, or KeyPress event. The function attempts to decode this event based on the settings of the OPEN LOOK(tm) defined dynamic mouse and keyboard settings. If the event is a KeyPress, the function may return the keysym, buffer, and/or length of the buffer returned from a call to XLookupString(3X). It returns these values if non-NULL values are provided by the caller.
SEE ALSO
LookupOlColors(3), OlReplayBtnEvent(3), OlDetermineMouseAction(3)
Sun Release 4.0 — Last change: