Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutcreatewindow(3glut) [suse man page]

glutCreateWindow(3GLUT) 					       GLUT						   glutCreateWindow(3GLUT)

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) GLUT
3.7 glutCreateWindow(3GLUT)

Check Out this Related Man Page

glutCreateWindow(3GLUT) 					       GLUT						   glutCreateWindow(3GLUT)

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) GLUT
3.7 glutCreateWindow(3GLUT)
Man Page

10 More Discussions You Might Find Interesting

1. Programming

about X-window

Please, recommend anyone books about programming for X-window. (0 Replies)
Discussion started by: serge
0 Replies

2. UNIX for Dummies Questions & Answers

Get file from window env

Hi, I can use rcp to copy a file from unix to window. How can I get a file from window env in unix. Ivan (1 Reply)
Discussion started by: egckhad
1 Replies

3. HP-UX

X window can not startup

When the system shutdown and startup, the login window can not start normally and often display as character mode, I have uncomment the last line in the /etc/dt/config/Xservers file as the following, but the problem still unfix: * Local local@console /usr/bin/X11/X :0 another problem is... (0 Replies)
Discussion started by: Frank2004
0 Replies

4. UNIX and Linux Applications

Emacs GUI window, help.

I'm using xming and enabled x11 tunneling. But when I try to use emacs to get the GUI window. I do get the window, but no fonts, can't click on buttons like file, edit....and when I type anything I just get the black rectangles. I get error msg in terminal.... "Warning: Cannot convert string... (2 Replies)
Discussion started by: Bandit390
2 Replies

5. UNIX for Advanced & Expert Users

How can i unzip .gz extension file?

I have pulled a .gz file from UNIX to window. Is there way to unzip UNIX based file on window? Thanks advance. (9 Replies)
Discussion started by: J_ang
9 Replies

6. SuSE

NoMachine NX window closes after establishing connection

Hi, I am trying to use nomachine nx server and client. But somehow it doen't work. What happens is the following: 1.- Client starts up 2.- Client authenticates with Server 3.- The NoMachine window appears for 2-4 seconds 4.- The NoMachine window exists Somehow a "closeEvent" is sent.... (3 Replies)
Discussion started by: blackicecube
3 Replies

7. UNIX for Dummies Questions & Answers

Open a finder window in a particular view ??

In OSX, I have created some custom... well.. I guess you'd call them Macros?? within the .profile file. Some of these "Macros" are to open specific directories in a Finder window. Does anyone know what commands need to be used to have these folders open in LIST view, and maybe even be... (1 Reply)
Discussion started by: RiDE
1 Replies

8. OS X (Apple)

Terminal window unknown ?

Hi all I haven't worked much in the terminal window until recently as I'm trying to install the Imagemagick package, it's not going well but thats another matter. I'm worried now that I might have done something wrong. When I open the terminal window now I get unknown-e0-f8-47-0d-1b-02:~... (3 Replies)
Discussion started by: ttmt
3 Replies

9. HP-UX

How to start X window?

hi, here is a HP workstation C9000 with HP-UX system in my office. couple days ago we shutdown the system. when trying to turn the it on, the system failed to start X window. my boss ask me fix it, but i am new of unix world. please be kindly to teach me how to get error message and fix... (19 Replies)
Discussion started by: ethandaddy
19 Replies

10. Ubuntu

Wildcard with xdotool

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)
Discussion started by: drew77
15 Replies