Unix/Linux Go Back    


CentOS 7.0 - man page for glutcreatemenu (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


UNTITLED				      LOCAL					 UNTITLED

NAME
     glutCreateMenu -- Create a new menu.

LIBRARY
     OpenGLUT - menus

SYNOPSIS
     #include <openglut.h>

     int
     glutCreateMenu(void( *callback )( int value ));

PARAMETERS
      callback	   Client hook for the new menu.

DESCRIPTION
     Create a menu with a callback bound to  callback,	and return the menu's integer id.

     When the user makes a selection from this menu,  callback	is invoked with the parameter
     value,  which comes from the (  label,   value)  pair that is defined with glutAddMenuEn-
     try().

SEE ALSO
     glutAddMenuEntry(3) glutAddSubMenu(3) glutDestroyMenu(3)

					      Epoch
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 04:59 AM.