Unix/Linux Go Back    


CentOS 7.0 - man page for glutattachmenu (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
     glutAttachMenu -- Attach the current menu to the current window.

LIBRARY
     OpenGLUT - menus

SYNOPSIS
     #include <openglut.h>

     void
     glutAttachMenu(int button);

PARAMETERS
      button	 Mouse button to bind to

DESCRIPTION
     Associates the  button  with the current menu in the current window.

TODO
     Assumes 3 mouse buttons.  (Actually  FREEGLUT_MAX_MENUS  holds the assumed number of but-
     tons.)  Cannot bind to more buttons.  Will not issue any warnings or errors if the user does
     not have enough buttons to reach your menu.

SEE ALSO
     glutCreateMenu(3) glutSetMenu(3) glutDetachMenu,(3)

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


All times are GMT -4. The time now is 05:32 AM.