1UNTITLED LOCAL UNTITLED
2
4 glutMenuStateFunc — Deprecated variant of glutMenuStatusFunc()
5
7 OpenGLUT - deprecated
8
10 #include <openglut.h>
11
12 void
13 glutMenuStateFunc(void( *callback )( int status ));
14
16 callback Client menu status hook.
17
19 Broadly, OpenGLUT operates in two modes. At any given time, it is either
20 in menu mode (with a popup menu display, possibly with subitems) or it is
21 not.
22
23 When moving from non-menu to menu status, callback (if defined) will be
24 called with GLUT_MENU_IN_USE . Conversely, when moving from menu to
25 non-menu status, callback (if defined) will be called with
26 GLUT_MENU_NOT_IN_USE .
27
28 This callback is bound to both the current window and the current
29 menu .
30
32 Obsolete. Depcreated.
33
35 Your callback is not actually called presently.
36
38 glutMenuStatusFunc(3)
39
40
41
42
43 Epoch