glutMainLoopEvent man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutMainLoopEvent — Dispatches all pending events.

LIBRARY
     OpenGLUT - mainloop

SYNOPSIS
     #include <openglut.h>

     void
     glutMainLoopEvent(void);

DESCRIPTION
     The general outline of this function is to first drain the queue of win‐
     dowsystem events, in most cases dispatching each as it is found.  After
     the queue is empty, we check for timer-based events, coalesced window
     events (e.g., redisplays), and windows that need to be closed.

     The cross-reference section for this function's documentation should ide‐
     ally contain every callback, but the list would be tediously long and
     prone to omissions.

CAVEATS
     Does not necessarily dispatch events that are received  after   this
     function starts processing.

     At first glance, this function may not seem to afford any new capability
     that you couldn't get with an idle callback or glutLeaveMainLoop().  How‐
     ever there are other GLUT-like libraries that may have their own window
     event processing loops.  Having glutMainLoopEvent() allows you to ask
     OpenGLUT to do its work in a batch, then return to whatever processing
     the other library (or libraries) require.

SEE ALSO
     glutIdleFunc(3) glutLeaveMainLoop(3) glutMainLoop(3)

				     Epoch
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net