glutCreateSubWindow
NAMESYNTAX
ARGUMENTS
DESCRIPTION
SEE ALSO
AUTHOR
NAME
glutCreateSubWindow - creates a subwindow.
SYNTAX
int glutCreateSubWindow(int win,
int x, int y, int width, int height); |
ARGUMENTS
win |
Identifier of the subwindow’s parent window. | ||
x |
Window X location in pixels relative to parent window’s origin. | ||
y |
Window Y location in pixels relative to parent window’s origin. | ||
width |
Width in pixels. | ||
height |
Height in pixels. |
DESCRIPTION
glutCreateSubWindow creates a subwindow of the window identified by win of size width and height at location x and y within the current window. Implicitly, the current window is set to the newly created subwindow.
Each created window has a unique associated OpenGL context. State changes to a window’s associated OpenGL context can be done immediately after the window is created.
The display state of a window is initially for the window to be shown. But the window’s display state is not actually acted upon until glutMainLoop is entered. This means until glutMainLoop is called, rendering to a created window is ineffective. Subwindows can not be iconified.
Subwindows can be nested arbitrarily deep.
The value returned is a unique small integer identifier for the window. The range of allocated identifiers starts at one.
SEE ALSO
glutCreateWindow, glutDestroyWindow
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
More Linux Commands
manpages/werase.3ncurses.html
werase(3ncurses) - clear all or part of a curses window.....
The erase and werase routines copy blanks to every position in the window, clearing the screen. The clear and wclear routines are like erase and werase, but the
manpages/glDisableClientState.3gl.html
glDisableClientState(3gl) - enable or disable client-side ca
glEnableClientState and glDisableClientState enable or disable individual client-side capabilities. By default, all client-side capabilities are disabled. Both
manpages/Tcl_ChannelClose2Proc.3.html
Tcl_ChannelClose2Proc(3) - procedures for creating and manip
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for
manpages/XtConvertAndStore.3.html
XtConvertAndStore(3) - invoke resource converters (ManPage)
The XtConvertAndStore function looks up the type converter registered to convert from_type to to_type, computes any additional arguments needed, and then calls
manpages/lesskey.1.html
lesskey(1) - specify key bindings for less - Linux man page
Lesskey is used to specify a set of key bindings to be used by less. The input file is a text file which describes the key bindings. If the input file is -, sta
manpages/XCreateWindowEvent.3.html
XCreateWindowEvent(3) - CreateNotify event structure........
The structure for CreateNotify events contains: typedef struct { int type; /* CreateNotify */ unsigned long serial; /* # of last request processed by server */
manpages/XAddConnectionWatch.3.html
XAddConnectionWatch(3) - handle Xlib internal connections...
The XAddConnectionWatch function registers a procedure to be called each time Xlib opens or closes an internal connection for the specified display. The procedu
manpages/hid2hci.1.html
hid2hci(1) Bluetooth HID to HCI mode switching utility......
hid2hci.1 - hid2hci is used to set up switch supported Bluetooth devices into the HCI mode and back. OPTIONS --mode= [hid, hci] Sets the mode to switch the devi
manpages/atexit.3.html
atexit(3) - register a function to be called at normal proce
The atexit() function registers the given function to be called at normal process termination, either via exit(3) or via return from the programs main(). Functi
manpages/xvinfo.1.html
xvinfo(1) - Print out X-Video extension adaptor information
xvinfo prints out the capabilities of any video adaptors associated with the display that are accessible through the X-Video extension. OPTIONS -display display
manpages/pam_rhosts.8.html
pam_rhosts(8) - The rhosts PAM module - Linux manual page...
This module performs the standard network authentication for services, as used by traditional implementations of rlogin and rsh etc. The authentication mechanis
manpages/winsch.3ncurses.html
winsch(3ncurses) - insert a character before cursor in a cur
These routines insert the character ch before the character under the cursor. All characters to the right of the cursor are moved one space to the right, with t
