Collaboration diagram for Experimental Features:
Functions | |
int | glutCreateMenuWindow (int parentID, int x, int y, int w, int h) |
void | glutSetWindowStayOnTop (GLint enable) |
|
Create a client-controlled menu window.
The documentation for this function is currently the OpenGLEAN Menu Window proposal. Variance from that proposal may generally be explained by the fact that this feature is experimental. A return value of 0 indicates failure. (By default, OpenGLEAN's glutCreateMenuWindow() will only return if it will succeed.) It is a fatal error either to call this function without first properly initializing OpenGLEAN via glutInit(), or to call this function when there is no current window.
Here is the call graph for this function: |
|
Set stay on top mode for current window.
Like other window management operations, this is a request, not a forced effect. The request may be denied for good reasons. Or it may be modified to allow some other windows on top of yours. Finally, it's not a portable mechanism. It will work in some cases, but not others. Using this feature is akin to asking for a font named "lucidasanstypewriter-8". My X server happens to have this font, but a WIN32 box may not. It is a fatal error either to call this function without first properly initializing OpenGLEAN via glutInit() or to call this function without a current window.
|
Supported in part by SourceForge.net.
Generated on Fri Sep 16 20:15:39 2005 for OpenGLEAN by
doxygen 1.4.3
The OpenGLEAN project is hosted by
olib.org and
SourceForge.