glutMenuStatusFunc man page on Oracle

Man page or keyword search:  
man Server   33470 pages
apropos Keyword Search (all sections)
Output format
Oracle logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutMenuStatusFunc — Modern variant of glutMenuStateFunc()

LIBRARY
     OpenGLUT - menucallback

SYNOPSIS
     #include <openglut.h>

     void
     glutMenuStatusFunc(void( *callback )( int status, int x, int y ));

PARAMETERS
      callback	   Client menu status hook.

DESCRIPTION
     Broadly, OpenGLUT operates in two modes.  At any given time, it is either
     in menu mode (with a popup menu display, possibly with subitems) or it is
     not.

     When moving from non-menu to menu status,	callback  (if defined) will be
     called with  GLUT_MENU_IN_USE  .  Conversely, when moving from menu to
     non-menu status,  callback	 (if defined) will be called with
     GLUT_MENU_NOT_IN_USE  .

     This differs from glutMenuStateFunc() in that  callback  is also given
     the  x  and  y  coordinates of the mouse when the menu state transition
     took place.

     This callback is bound to	both   the  current window   and the  current
     menu  .

BUGS
     Your callback is not actually called presently.

SEE ALSO
     glutMenuStateFunc(3)

				     Epoch
[top]

List of man pages available for Oracle

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net