glutGetWindowData man page on RedHat

Man page or keyword search:  
man Server   29550 pages
apropos Keyword Search (all sections)
Output format
RedHat logo
[printable version]

UNTITLED			     LOCAL			      UNTITLED

NAME
     glutGetWindowData — Get the user data for the current window

LIBRARY
     OpenGLUT - window

SYNOPSIS
     #include <openglut.h>

     void*
     glutGetWindowData(void);

DESCRIPTION
     This 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 glob‐
     als for this.

SEE ALSO
     glutSetWindowData(3)

				     Epoch
[top]

List of man pages available for RedHat

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net