1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutGetWindow — Return the current window identifier, 0 if undefined
5

LIBRARY

7     OpenGLUT - window
8

SYNOPSIS

10     #include <openglut.h>
11
12     int
13     glutGetWindow(void);
14

DESCRIPTION

16     glutGetWindow() returns the  window id   of the  current window  .  This
17     is useful, e.g., if you have a generic function that is used with several
18     windows and it needs to temporarily change to another window.  (There is
19     no window stack for you to use with pushes and pops.  Do not be confused
20     by glutPushWindow() and glutPopWindow(); those pushes and pops are  not
21     stack-related!)
22
23     One cause for the function to return 0 is if you have called glutDestroy‐
24     Window() on the  current window   and have done nothing to set a new win‐
25     dow as current.
26

SEE ALSO

28     glutSetWindow(3)
29
30
31
32
33                                     Epoch
Impressum