Tao.FreeGlut SDK Documentation

Glut.glutDetachMenu Method 

Detaches an attached mouse button from the current window.

[Visual Basic]
Public Shared Sub glutDetachMenu( _
   ByVal button As Integer _
)
[C#]
public static void glutDetachMenu(
   int button
);

Parameters

button
The button to detach a menu.

Remarks

glutDetachMenu detaches an attached mouse button from the current window. 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.

See Also

Glut Class | Tao.FreeGlut Namespace | glutAttachMenu | glutCreateMenu | glutDetachMenu | glutMenuStatusFunc | glutMouseFunc