glutEntryFunc (3) - Linux Manuals

glutEntryFunc: Window mouse entry/leave callback.

NAME

glutEntryFunc - Window mouse entry/leave callback.

LIBRARY

OpenGLUT - input

SYNOPSIS

In openglut.h Ft void Fn glutEntryFunc void( *callback )( int state )

PARAMETERS

Bf Em
 callback Ef
    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. Bf Sy
 state Ef
 is one of  Bf Sy
 GLUT_LEFT Ef
 or Bf Sy
 GLUT_ENTERED Ef
 respective of whether the mouse left or entered the window.

This callback is bound to the Bf Li
 current window Ef
 .