Scroll to navigation

GLUTCREATEMENUWINDOW(3) Library Functions Manual (local) GLUTCREATEMENUWINDOW(3)

NAME

glutCreateMenuWindowCreate 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)