glutDestroyMenu

destroys the specified menu.

Signature

glutDestroyMenu( int( menu ) )-> void
glutDestroyMenu( menu )
Destroy (cleanup) the given menu
        
        Deregister's the interal pointer to the menu callback 
        
        returns None
        

Parameters

VariablesDescription
menu
The identifier of the menu to destroy.

Description

glutDestroyMenu destroys the specified menu by menu. If menu was the current menu, the current menu becomes invalid and glutGetMenu will return zero.

See Also

glutCreateMenu glutDestroyWindow