1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutAttachMenu — Attach the current menu to the current window.
5

LIBRARY

7     OpenGLUT - menus
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutAttachMenu(int button);
14

PARAMETERS

16      button     Mouse button to bind to
17

DESCRIPTION

19     Associates the  button  with the current menu in the current window.
20

TODO

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

SEE ALSO

28     glutCreateMenu(3) glutSetMenu(3) glutDetachMenu,(3)
29
30
31
32
33                                     Epoch
Impressum