glutSetMenuData - Man Page
Store menu user data pointer
Library
OpenGLUT - menus
Synopsis
#include <openglut.h
>
void
glutSetMenuData
(void *data);
Parameters
data
Client pointer data
Description
glutSetMenuData() associates an arbitrary user data pointer,
data,
with the
current menu
. OpenGLUT does not interpret this pointer in any way, but merely stores it for you in the menu structure.