GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
glutAttachMenu(3GLUT) GLUT glutAttachMenu(3GLUT)

glutAttachMenu - attaches a mouse button for the current window to the identifier of the current menu; glutDetachMenu - detaches an attached mouse button from the current window.

void glutAttachMenu(int button);
void glutDetachMenu(int button);

button
The button to attach a menu or detach a menu.

glutAttachMenu attaches a mouse button for the current window to the identifier of the current menu; glutDetachMenu detaches an attached mouse button from the current window. By attaching a menu identifier to a button, the named menu will be popped up when the user presses the specified button. button should be one of GLUT_LEFT_BUTTON, GLUT_MIDDLE_BUTTON, and GLUT_RIGHT_BUTTON. Note that the menu is attached to the button by identifier, not by reference.

glutCreateMenu, glutMouseFunc, glutMenuStatusFunc

Mark J. Kilgard (mjk@nvidia.com)
3.7 GLUT

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.