Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutpositionwindow(3glut) [redhat man page]

glutPositionWindow(3GLUT)					       GLUT						 glutPositionWindow(3GLUT)

NAME
glutPositionWindow - requests a change to the position of the current window. SYNTAX
void glutPositionWindow(int x, int y); ARGUMENTS
x New X location of window in pixels. y New Y location of window in pixels. DESCRIPTION
glutPositionWindow requests a change in the position of the current window. For top-level windows, the x and y parameters are pixel offsets from the screen origin. For subwindows, the x and y parameters are pixel offsets from the window's parent window origin. The requests by glutPositionWindow are not processed immediately. The request is executed after returning to the main event loop. This allows multiple glutPositionWindow, glutReshapeWindow, and glutFullScreen requests to the same window to be coalesced. In the case of top-level windows, a glutPositionWindow call is considered only a request for positioning the window. The window system is free to apply its own policies to top-level window placement. The intent is that top-level windows should be repositioned according glut- PositionWindow's parameters. glutPositionWindow disables the full screen status of a window if previously enabled. SEE ALSO
glutInitWindowPosition, glutReshapeWindow AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutPositionWindow(3GLUT)

Check Out this Related Man Page

glutPositionWindow(3GLUT)					       GLUT						 glutPositionWindow(3GLUT)

NAME
glutPositionWindow - requests a change to the position of the current window. SYNTAX
#include <GLUT/glut.h> void glutPositionWindow(int x, int y); ARGUMENTS
x New X location of window in pixels. y New Y location of window in pixels. DESCRIPTION
glutPositionWindow requests a change in the position of the current window. For top-level windows, the x and y parameters are pixel offsets from the screen origin. For subwindows, the x and y parameters are pixel offsets from the window's parent window origin. The requests by glutPositionWindow are not processed immediately. The request is executed after returning to the main event loop. This allows multiple glutPositionWindow, glutReshapeWindow, and glutFullScreen requests to the same window to be coalesced. In the case of top-level windows, a glutPositionWindow call is considered only a request for positioning the window. The window system is free to apply its own policies to top-level window placement. The intent is that top-level windows should be repositioned according glut- PositionWindow's parameters. glutPositionWindow disables the full screen status of a window if previously enabled. SEE ALSO
glutInitWindowPosition, glutReshapeWindow AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutPositionWindow(3GLUT)
Man Page

5 More Discussions You Might Find Interesting

1. Programming

need info on current curser postion.

Hi All, I have written the below code to know the current curser position. The problem with this code is - it gives me window size properly but whn it comes to current curser position then it gives (0,0) as x,y co-ordinate eventhough my curser is somewhere middle on command line interface. ... (0 Replies)
Discussion started by: swap007
0 Replies

2. UNIX for Dummies Questions & Answers

Ubuntu Hardy: How to span windows over more than 1 screen?

Hi, Ive 3 screens, 2 nvidia graphiccards and all works fine with the nvidia binary driver and xinerama. I can maximize all windows an one screen, but now i need to span it over all 3 screens. Any ideas? thanks in advance. (3 Replies)
Discussion started by: mcW
3 Replies

3. UNIX for Dummies Questions & Answers

Help using top and ps

help! i need help with locating where a program is being run from. when i type top -i it only lists the name and minimal info, not the programs location from where it is being ran. i ask because i just used the same named executable, a.exe for all the processes and have lost the schedule detailing... (4 Replies)
Discussion started by: shabs1985
4 Replies

4. UNIX and Linux Applications

xlib: allow overlay of other windows in full-screen

Hi, I am using the feh slideshow program in full-screen mode. While the slide show is in progress I would like to draw some other windows (something like clock or calendar from gdesklets) on top of this slideshow. Currently feh does not allow me to do that. Below is the code that feh uses to... (0 Replies)
Discussion started by: aerosmith
0 Replies

5. UNIX for Dummies Questions & Answers

Change windows to unix

Hi everyone. I have some questions... I have a 2nd pc with windows and i want to change it to unix cause i want to learn unix so can someone tell me how to get unix os and how to change it from windows?:D (6 Replies)
Discussion started by: NParas
6 Replies