Sophie

Sophie

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

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


<HTML><HEAD><TITLE>Manpage of glutCreateWindow</TITLE>
</HEAD><BODY>
<H1>glutCreateWindow</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>

glutCreateWindow - creates a top-level window. 
<A NAME="lbAC">&nbsp;</A>
<H2>SYNTAX</H2>

<PRE>

int glutCreateWindow(char *name);
</PRE>

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

<DL COMPACT>
<DT><I>name</I><DD>
ASCII character string for use as window name. 
</DL>
<A NAME="lbAE">&nbsp;</A>
<H2>DESCRIPTION</H2>

glutCreateWindow creates a top-level window. The
name will be provided to the window system as the window's name. The
intent is that the window system will label the window with the name. 

Implicitly, the current window is set to the newly created window. 

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 because the window can not
yet be displayed. 

The value returned is a unique small integer identifier for the window.
The range of allocated identifiers starts at one. This window identifier
can be used when calling glutSetWindow. 
<A NAME="lbAF">&nbsp;</A>
<H2>X IMPLEMENTATION NOTES</H2>

The proper X Inter-Client Communication Conventions Manual
(ICCCM) top-level properties are established. The WM_COMMAND
property that lists the command line used to invoke the GLUT program
is only established for the first window created. 
<A NAME="lbAG">&nbsp;</A>
<H2>SEE ALSO</H2>

glutCreateSubWindow, glutCreateMenu, glutDestroyWindow
<A NAME="lbAH">&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">X IMPLEMENTATION NOTES</A><DD>
<DT><A HREF="#lbAG">SEE ALSO</A><DD>
<DT><A HREF="#lbAH">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>