1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutPositionWindow — Request to change the position of the current window
5

LIBRARY

7     OpenGLUT - window
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutPositionWindow(int x, int y);
14

PARAMETERS

16      x        Requested horizontal position of the current window
17
18      y        Requested vertical position of the current window
19

DESCRIPTION

21     The glutPositionWindow() function requests that the window system posi‐
22     tion a top-level or subwindow relative to the top-left corner.  Subwin‐
23     dows are typically resized and repositioned in response to window resize
24     events.
25

CAVEATS

27     The position of top-level windows is ultimately determined by the window‐
28     ing system.  Therefore, a position request by an OpenGLUT application may
29     not necessarily succeed.
30
31     May not take immediate effect; wait for the callback.
32
33     Not applicable to offscreen windows.
34

SEE ALSO

36     glutInit(3) glutInitWindowPosition(3) glutReshapeFunc(3)
37     glutCreateSubWindow(3)
38
39
40
41
42                                     Epoch
Impressum