Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutpositionwindow(3) [centos man page]

UNTITLED
LOCAL UNTITLED NAME
glutPositionWindow -- Request to change the position of the current window LIBRARY
OpenGLUT - window SYNOPSIS
#include <openglut.h> void glutPositionWindow(int x, int y); PARAMETERS
x Requested horizontal position of the current window y 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. Subwin- dows 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) Epoch

Check Out this Related Man Page

UNTITLED
LOCAL UNTITLED NAME
glutPopWindow -- Request to raise the current window to the top LIBRARY
OpenGLUT - window SYNOPSIS
#include <openglut.h> void glutPopWindow(void); DESCRIPTION
Request that the current window be brought to the top. A window can be in front of or behind other windows, as determined by the z-order from front to back. Top-level OpenGLUT windows can be placed at the front or back of the z-order by means of the glutPopWindow() and glutPushWindow() API functions. A z-order also applies to the subwindows of a top-level window. While the z-order of top-level windows can usually be adjusted by the user, subwindow z-order is controlled entirely by the application. If this has any effect on your window's visibility, you should receive a glutWindowStatusFunc() callback and a glutDisplayFunc() callback. CAVEATS
The z-order of top-level windows is ultimately managed by the windowing system. Therefore, a push or pop request by an OpenGLUT application may not necessarily succeed or take immediate effect. Not applicable to offscreen windows. SEE ALSO
glutCreateWindow(3) glutDisplayFunc(3) glutPushWindow(3) glutWindowStatusFunc(3) Epoch
Man Page