Rechercher une page de manuel
glutAttachMenu
Langue: en
Version: 167858 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
BSD mandoc
NAME
glutAttachMenu - Attach the current menu to the current window.LIBRARY
OpenGLUT - menusSYNOPSIS
In openglut.h Ft void Fn glutAttachMenu int buttonPARAMETERS
Bf Em
button Ef
Mouse button to bind to
DESCRIPTION
Associates the Bf Sybutton Ef
with the current menu in the current window.
TODO
Assumes 3 mouse buttons. (Actually Bf SyFREEGLUT_MAX_MENUS Ef
holds the assumed number of buttons.) 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,3Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre