glutCreateWindow
NAMESYNTAX
ARGUMENTS
DESCRIPTION
X IMPLEMENTATION NOTES
SEE ALSO
AUTHOR
NAME
glutCreateWindow - creates a top-level window.
SYNTAX
int glutCreateWindow(char *name);
ARGUMENTS
name |
ASCII character string for use as window name. |
DESCRIPTION
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.
X IMPLEMENTATION NOTES
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.
SEE ALSO
glutCreateSubWindow, glutCreateMenu, glutDestroyWindow
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
More Linux Commands
manpages/rpmbuild.8.html
rpmbuild(8) - Build RPM Package(s) - Linux manual page......
rpmbuild is used to build both binary and source software packages. A package consists of an archive of files and meta-data used to install and erase the archiv
manpages/gnutls_x509_crl_set_crt.3.html
gnutls_x509_crl_set_crt(3) - API function - Linux man page
gnutls_x509_crl_set_crt.3 - This function will set a revoked certificates serial number to the CRL. RETURNS On success, GNUTLS_E_SUCCESS (0) is returned, otherw
manpages/Tcl_FSLink.3.html
Tcl_FSLink(3) - procedures to interact with any filesystem
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
manpages/XkbSetIndicatorMap.3.html
XkbSetIndicatorMap(3) - Downloads the changes to the server
This section discusses the effects of explicitly changing indicators depending upon different settings in the indicator map. See Tables 1 and Table 2 for inform
manpages/gluNurbsCallbackDataEXT.3gl.html
gluNurbsCallbackDataEXT(3gl) - set a user data pointer......
gluNurbsCallbackDataEXT is used to pass a pointer to the applications data to NURBS tessellator. A copy of this pointer will be passed by the tessellator in the
manpages/lircrcd.1.html
lircrcd(1) - daemon to handle consistent .lircrc state among
lircrcd reads the given .lircrc config file and synchronises the mode that the LIRC clients using this config file (irexec(1), irxevent(1) , etc.) are in. Using
manpages/monodevelop.html
monodevelop
monodevelop
manpages/Tk_FreeConfigOptions.3.html
Tk_FreeConfigOptions(3) - process configuration options.....
These procedures handle most of the details of parsing configuration options such as those for Tk widgets. Given a description of what options are supported, th
manpages/gnutls_x509_crt_set_key_purpose_oid.3.html
gnutls_x509_crt_set_key_purpose_oid(3) - API function.......
gnutls_x509_crt_set_key_purpose_oid.3 - This function will set the key purpose OIDs of the Certificate. These are stored in the Extended Key Usage extension (2.
manpages/xdr_bytes.3.html
xdr_bytes(3) - library routines for external data representa
These routines allow C programmers to describe arbitrary data structures in a machine-independent fashion. Data for remote procedure calls are transmitted using
manpages/SDL_VideoInfo.3.html
SDL_VideoInfo(3) - Video Target information - Linux man page
This (read-only) structure is returned by SDL_GetVideoInfo. It contains information on either the best available mode (if called before SDL_SetVideoMode) or the
manpages/field_buffer.3form.html
field_buffer(3form) - field buffer control - Linux man page
The function set_field_buffer sets the numbered buffer of the given field to contain a given string: * Buffer 0 is the displayed value of the field. * Other num
