glutIdleFunc (3) - Linux Manuals

glutIdleFunc: Sets the global idle callback.

NAME

glutIdleFunc - Sets the global idle callback.

LIBRARY

OpenGLUT - idletimer

SYNOPSIS

In openglut.h Ft void Fn glutIdleFunc void( *callback )( void )

PARAMETERS

Bf Em
 callback Ef
    Client function for idle event.

DESCRIPTION

When OpenGLUT's glutMainLoop() is doing nothing else, it checks to see if an ``idle'' callback set. If so, OpenGLUT invokes that callback.

This callback is Bf Em
 not Ef
  bound to any window.

CAVEATS

There is at most Bf Em
 one Ef
  idle callback for your entire application.