OpenGLUT - experimental
glutCreateMenuWindow(int parentID, int x, int y, int w, int h);
Parent window identifier.
Horizontal coordinate on the screen.
Vertical coordinate on the screen.
Width of the new window.
Height of the new window.
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.
Did you notice that this feature is highly experimental?
glutCreateWindow(3) glutCreateSubWindow(3) glutDestroyWindow(3) glutKeyboardFunc(3) glutKeyboardUpFunc(3) glutSpecialFunc(3) glutSpecialUpFunc(3) glutMotionFunc(3) glutPassiveMotionFunc(3) glutMouseFunc(3) glutMouseWheelFunc(3)
glutCreateSubWindow(3), glutCreateWindow(3), glutInitDisplayMode(3).