1UNTITLED LOCAL UNTITLED
2
4 glutAttachMenu — Attach the current menu to the current window.
5
7 OpenGLUT - menus
8
10 #include <openglut.h>
11
12 void
13 glutAttachMenu(int button);
14
16 button Mouse button to bind to
17
19 Associates the button with the current menu in the current window.
20
22 Assumes 3 mouse buttons. (Actually FREEGLUT_MAX_MENUS holds the
23 assumed number of buttons.) Cannot bind to more buttons. Will not issue
24 any warnings or errors if the user does not have enough buttons to reach
25 your menu.
26
28 glutCreateMenu(3) glutSetMenu(3) glutDetachMenu,(3)
29
30
31
32
33 Epoch