UNTITLED LOCAL UNTITLED
NAME
glutSetWindow -- Select the <i>current window</i>
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h>
void
glutSetWindow(int ID);
PARAMETERS
ID Window identifier
DESCRIPTION
Sets the current window to ID.
All OpenGL rendering goes to the current window . Many OpenGLUT functions also implicitly use the current window .
Many OpenGLUT callback operations are tied to a window. When your callback is invoked, OpenGLUT will set that particular window to be the
current window . However, some callbacks---such as that registered via glutIdleFunc()---do not have associated windows. If a callback is
not associated to a particular window, then when OpenGLUT invokes that callback you should always use glutSetWindow() to select the appro-
priate window before doing any OpenGL rendering or doing any OpenGLUT window-related operations.
There may be cases when you can get away with assuming that the current window is unchanged since some prior time, but OpenGLUT has con-
siderable liberaty with respect to when it invokes your functions. Also, your program may add more windows or more operations on other win-
dows as you develop it.
Lastly, this is a convenient way to select among multiple windows for drawing without actually waiting for that window's display callback.
Simply set the current window and draw immediately. This is not always advisable, but may be practical.
It is an error to set the current window to a non-existant window (e.g., one that you have closed). A warning will be printed on stderr
if you try to do so, and the current window should be unchanged.
SEE ALSO glutGetWindow(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
Does anyone know that exist a program on unix to use microsoft windows on remote pc ?
I need a program that makes the opposite of Execed.
I have a Sun workstation and I want to control a pc to use windows program.
Thanks a lot for the answers. (1 Reply)
how can I copy a file from unix to window machine (and vice versa), if ftp is not available? please tell me what else is convenient? Thanks! (6 Replies)
How to copy the complete content from a file in vi Editor to windows ( notepad ).
I can use " select " and paste it to windows but this is restricted to current page. Not allowing me to scroll down or up when selecting the content.:confused: (1 Reply)
The window id for the particular popup window is different each time, so this scripts often does not work.
Is there a way I could use a wildcard ?
Ex. xdotool key --window 1677*.* alt+F4
or go through all the relevant window IDs and filter what I need and discard the rest.
This... (15 Replies)