GLUTENTRYFUNC(3)

NAME
glutEntryFunc - Window mouse entry/leave callback.

LIBRARY
OpenGLUT - input

SYNOPSIS
#include <openglut.h>
void
glutEntryFunc(void( *callback )( int state ));

PARAMETERS

callback Client window-entry hook.

DESCRIPTION
When the mouse enters or exits a window (or sub-window), OpenGLUT can report this transition via the Entry callback. state is one of GLUT_LEFT or GLUT_ENTERED respective of whether the mouse left or entered the window.

This callback is bound to the current window .

SEE ALSO
glutPassiveMotionFunc(3)