glutentryfunc(3) - Linux man page

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)

BSD Epoch BSD