glutCreateMenuWindow man page

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)

 

Referenced By

glutCreateSubWindow(3), glutCreateWindow(3), glutInitDisplayMode(3).