UNTITLED LOCAL UNTITLED
NAME
glutCreateMenuWindow -- Create a client-controlled menu window.
LIBRARY
OpenGLUT - experimental
SYNOPSIS
#include <openglut.h>
int
glutCreateMenuWindow(int parentID, int x, int y, int w, int h);
PARAMETERS
parentID Parent window identifier.
x Horizontal coordinate on the screen.
y Vertical coordinate on the screen.
w Width of the new window.
h Height of the new window.
DESCRIPTION
This is a highly experimental function. It creates a menu-like window, of requested dimensions, and at a position relative to your current
window.
The documentation for this function is currently the OpenGLUT Menu Window proposal. Variance from that proposal may generally be explained
by the fact that this feature is highly experimental. It may also be explained by the fact that the implementation may simply be incomplete.
CAVEATS
Did you notice that this feature is highly experimental?
SEE ALSO glutCreateWindow(3)glutCreateSubWindow(3)glutDestroyWindow(3)glutKeyboardFunc(3)glutKeyboardUpFunc(3)glutSpecialFunc(3)glutSpecialUpFunc(3)glutMotionFunc(3)glutPassiveMotionFunc(3)glutMouseFunc(3)glutMouseWheelFunc(3)
Epoch
Check Out this Related Man Page
UNTITLED LOCAL UNTITLED
NAME
glutCreateWindow -- Create a new top-level window
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h>
int
glutCreateWindow(const char* title);
PARAMETERS
title Title for created window
DESCRIPTION
This function sends a request for a window to be constructed. OpenGLUT immediately constructs a data structure to track further events with
the window, on the theory that eventually the window manager will get back to us with a real window. This allows us to begin registering
callbacks immediately.
In fact, you must register a display callback via glutDisplayFunc() before you enter glutMainLoop().
For onscreen windows, you should not depend upon the window concretely existing or being visibile until you are told that it exists and is
visible via a registered callback.
The return value is an int. It should be positive for valid windows or 0 if failure occurred for some reason (Though traditional GLUT
tends to bail out and abort rather than returning errors.) The integer is your window id . Old GLUT promises that these integers are
``small''; we do not reuse old id s, but do produce them sequentially.
You can change the title later via glutSetWindowTitle().
SEE ALSO glutDestroyWindow(3)glutCreateSubWindow(3)glutSetWindowTitle(3)glutCreateMenuWindow(3)
Epoch
hi friends i have just completed my graduation and applied for Post graduation
i have to submit a research proposal of OS in the interview
i m a beginner & only read galvin & silbershcatz book on operating systems
can anyone help me in that ...
thanks in advance (3 Replies)
Hi Guys,
I just wondering if anyone out there have got the chance to use the Zlinux. If you have please your comments will be highly appreciated. For those who haven't heard about Zlinux is a flavour of Linux that runs on what IBM calls IFL's and is basically sitting on the mainframe (Zseries... (4 Replies)
Discussion started by: arizah
4 Replies
3. Forum Support Area for Unregistered Users & Account Problems
Hello. I've been reading the feed via twitter for a long time, but though i'm willing to help, i can't post and register (russia's banned). IP is dynamic, it's (<ip address>) for now.
DevOps, RH, python and unix shell scripting. (5 Replies)