Manpage of glutEntryFunc
Return to Main Contents
glutEntryFunc - sets the mouse enter/leave callback for the current window.
void glutEntryFunc(void (*func)(int state));
The new entry callback function.
glutEntryFunc sets the mouse enter/leave callback for the current
window. The state callback parameter is either GLUT_LEFT or
GLUT_ENTERED depending on if the mouse pointer has last left or entered
Passing NULL to glutEntryFunc disables the generation of the mouse
Some window systems may not generate accurate enter/leave callbacks.
X IMPLEMENTATION NOTES
An X implementation of GLUT should generate accurate enter/leave
Mark J. Kilgard (email@example.com)
- SEE ALSO
This document was created by
using the manual pages.
Time: 13:00:47 GMT, March 25, 2001