centos man page for glutgetwindow

Query: glutgetwindow

OS: centos

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

UNTITLED
LOCAL UNTITLED
NAME
glutGetWindow -- Return the current window identifier, 0 if undefined
LIBRARY
OpenGLUT - window
SYNOPSIS
#include <openglut.h> int glutGetWindow(void);
DESCRIPTION
glutGetWindow() returns the window id of the current window . This is useful, e.g., if you have a generic function that is used with several windows and it needs to temporarily change to another window. (There is no window stack for you to use with pushes and pops. Do not be confused by glutPushWindow() and glutPopWindow(); those pushes and pops are not stack-related!) One cause for the function to return 0 is if you have called glutDestroyWindow() on the current window and have done nothing to set a new window as current.
SEE ALSO
glutSetWindow(3) Epoch
Related Man Pages
glutvisibilityfunc(3glut) - redhat
glutcreatemenuwindow(3) - centos
glutcreatesubwindow(3) - centos
glutpopwindow(3) - centos
glutsetwindow(3) - centos
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
How to increment version inside a file?
DB2 convert digits to binary format
Shopt -s histappend
CentOS 6 ran out of space, need to reclaim it