GLUTPOSITIONWINDOW
Section: C Library Functions (3)
Updated: LOCAL
Index
Return to Main Contents
BSD mandoc
 
NAME
glutPositionWindow
 - Request to change the position of the current window
 
LIBRARY
OpenGLUT - window
 
SYNOPSIS
In openglut.h
Ft void
Fn glutPositionWindow int x int y
 
PARAMETERS
Bf Em
 x
Ef 
       Requested horizontal position of the current window
Bf Em
 y
Ef 
       Requested vertical position of the current window
 
DESCRIPTION
The glutPositionWindow() function requests that the window system
position a top-level or subwindow
relative to the top-left corner.  Subwindows are typically
resized and repositioned in response to window resize events.
 
CAVEATS
The position of top-level windows is ultimately determined by the windowing system.  Therefore, a position request by an OpenGLUT application may not necessarily succeed.
May not take immediate effect; wait for the callback.
Not applicable to offscreen windows.
 
SEE ALSO
glutInit(3)
glutInitWindowPosition(3)
glutReshapeFunc(3)
glutCreateSubWindow(3)