SysTutorials

Linux Manual Pages › Section 3

glutsetmenudata(3)

glutSetMenuData – Store menu user data pointer

Library

OpenGLUT – menus

Synopsis

In openglut.h Ft void Fn glutSetMenuData void *data

Parameters

Bf Em
 data Ef
    Client pointer data

Description

glutSetMenuData() associates an arbitrary user data pointer, Bf Sy
 data, Ef
 with the  Bf Li
 current menu Ef
 . OpenGLUT does not interpret this pointer in any way, but merely stores it for you in the menu structure.

See Also

glutGetMenuData(3)