Rechercher une page de manuel
glutGetWindow
Langue: en
Version: 156172 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutGetWindow - Return the current window identifier, 0 if undefinedLIBRARY
OpenGLUT - windowSYNOPSIS
In openglut.h Ft int Fn glutGetWindow voidDESCRIPTION
glutGetWindow() returns the Bf Liwindow id Ef
of the Bf Li
current window Ef
. This is useful, e.g., if you have a generic function that is used with several windows and it needs to temporarily change to another window. (There is no window stack for you to use with pushes and pops. Do not be confused by glutPushWindow() and glutPopWindow(); those pushes and pops are Bf Em
not Ef
stack-related!)
One cause for the function to return 0 is if you have called glutDestroyWindow() on the Bf Li
current window Ef
and have done nothing to set a new window as current.
SEE ALSO
glutSetWindow(3)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre