Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > eee00533ac83fd7ebbf9846dc6d3b77b > files > 239

Io-language-graphics-and-sound-20080330-6.fc15.i686.rpm


<HTML><HEAD><TITLE>Manpage of glutCreateSubWindow</TITLE>
</HEAD><BODY>
<H1>glutCreateSubWindow</H1>
Section: GLUT (3GLUT)<BR>Updated: 3.7<BR><A HREF="#index">Index</A>
<A HREF="">Return to Main Contents</A><HR>

<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>

glutCreateSubWindow - creates a subwindow. 
<A NAME="lbAC">&nbsp;</A>
<H2>SYNTAX</H2>

<PRE>

int glutCreateSubWindow(int win,
        int x, int y, int width, int height);
</PRE>

<A NAME="lbAD">&nbsp;</A>
<H2>ARGUMENTS</H2>

<DL COMPACT>
<DT><I>win</I><DD>
Identifier of the subwindow's parent window. 
<DT><I>x</I><DD>
Window X location in pixels relative to parent window's origin. 
<DT><I>y</I><DD>
Window Y location in pixels relative to parent window's origin. 
<DT><I>width</I><DD>
Width in pixels. 
<DT><I>height</I><DD>
Height in pixels. 
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>

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. 
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>

glutCreateWindow, glutDestroyWindow
<A NAME="lbAG">&nbsp;</A>
<H2>AUTHOR</H2>

Mark J. Kilgard (<A HREF="mailto:mjk@nvidia.com">mjk@nvidia.com</A>)
<P>

<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT><A HREF="#lbAB">NAME</A><DD>
<DT><A HREF="#lbAC">SYNTAX</A><DD>
<DT><A HREF="#lbAD">ARGUMENTS</A><DD>
<DT><A HREF="#lbAE">DESCRIPTION</A><DD>
<DT><A HREF="#lbAF">SEE ALSO</A><DD>
<DT><A HREF="#lbAG">AUTHOR</A><DD>
</DL>
<HR>
This document was created by
<A HREF="">man2html</A>,
using the manual pages.<BR>
Time: 19:05:09 GMT, September 15, 2003
</BODY>
</HTML>