Query: glutgetwindowdata
OS: centos
Section: 3
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
UNTITLEDLOCAL UNTITLEDNAMEglutGetWindowData -- Get the user data for the current windowLIBRARYOpenGLUT - windowSYNOPSIS#include <openglut.h> void* glutGetWindowData(void);DESCRIPTIONThis function will return whatever void* value is associated with the current window via glutSetWindowData(). This is NULL if you did not associate a pointer with your window. This can be useful in a situation where you have a single callback function performing services for many windows. You could keep track of the window id s in a global list and search for the current window in that list. But this is quicker than searching a data structure, and allows you to avoid the use of globals for this.SEE ALSOglutSetWindowData(3) Epoch
Related Man Pages |
---|
glutvisibilityfunc(3glut) - mojave |
glutcreatemenuwindow(3) - centos |
glutsetwindow(3) - centos |
glutsetoption(3) - centos |
glutswapbuffers(3) - centos |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
Weird 'find' results |
CentOS7 restoring file capabilities |
Controlling user input |
Please Welcome Dave Munro to the Moderator Team! |