Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glutvisibilityfunc(3glut) [redhat man page]

glutVisibilityFunc(3GLUT)					       GLUT						 glutVisibilityFunc(3GLUT)

NAME
glutVisibilityFunc - sets the visibility callback for the current window. SYNTAX
void glutVisibilityFunc(void (*func)(int state)); ARGUMENTS
func The new visibility callback function. DESCRIPTION
glutVisibilityFunc sets the visibility callback for the current window. The visibility callback for a window is called when the visibility of a window changes. The state callback parameter is either GLUT_NOT_VISIBLE or GLUT_VISIBLE depending on the current visibility of the window. GLUT_VISIBLE does not distinguish a window being totally versus partially visible. GLUT_NOT_VISIBLE means no part of the window is visible, i.e., until the window's visibility changes, all further rendering to the window is discarded. GLUT considers a window visible if any pixel of the window is visible or any pixel of any descendant window is visible on the screen. Passing NULL to glutVisibilityFunc disables the generation of the visibility callback. If the visibility callback for a window is disabled and later re-enabled, the visibility status of the window is undefined; any change in window visibility will be reported, that is if you disable a visibility callback and re-enable the callback, you are guaranteed the next visibility change will be reported. SEE ALSO
glutCreateWindow, glutPopWindow AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutVisibilityFunc(3GLUT)

Check Out this Related Man Page

glutVisibilityFunc(3GLUT)					       GLUT						 glutVisibilityFunc(3GLUT)

NAME
glutVisibilityFunc - sets the visibility callback for the current window. SYNTAX
#include <GLUT/glut.h> void glutVisibilityFunc(void (*func)(int state)); ARGUMENTS
func The new visibility callback function. DESCRIPTION
glutVisibilityFunc sets the visibility callback for the current window. The visibility callback for a window is called when the visibility of a window changes. The state callback parameter is either GLUT_NOT_VISIBLE or GLUT_VISIBLE depending on the current visibility of the window. GLUT_VISIBLE does not distinguish a window being totally versus partially visible. GLUT_NOT_VISIBLE means no part of the window is visible, i.e., until the window's visibility changes, all further rendering to the window is discarded. GLUT considers a window visible if any pixel of the window is visible or any pixel of any descendant window is visible on the screen. Passing NULL to glutVisibilityFunc disables the generation of the visibility callback. If the visibility callback for a window is disabled and later re-enabled, the visibility status of the window is undefined; any change in window visibility will be reported, that is if you disable a visibility callback and re-enable the callback, you are guaranteed the next visibility change will be reported. SEE ALSO
glutCreateWindow, glutPopWindow AUTHOR
Mark J. Kilgard (mjk@nvidia.com) GLUT
3.7 glutVisibilityFunc(3GLUT)
Man Page

3 More Discussions You Might Find Interesting

1. UNIX and Linux Applications

Emacs GUI window, help.

I'm using xming and enabled x11 tunneling. But when I try to use emacs to get the GUI window. I do get the window, but no fonts, can't click on buttons like file, edit....and when I type anything I just get the black rectangles. I get error msg in terminal.... "Warning: Cannot convert string... (2 Replies)
Discussion started by: Bandit390
2 Replies

2. UNIX for Advanced & Expert Users

Entire Input command not visible in Unix prompt

Hi, While typing the Unix command, entire command is not visible.When the input command is long, it is not visible. I want the entire command to be displayed when i type it. Please help to resolve this issue. Thanks Sampath (7 Replies)
Discussion started by: sampath.giri
7 Replies

3. Shell Programming and Scripting

How to segregate a section from big file?

Hello, I need to know all IP range (ip_prefix), associated with us-west-2 region only from this link - https://ip-ranges.amazonaws.com/ip-ranges.json (it can be opened in wordpad for better visibility) Please suggest, how would I do it. If vi, awk or sed is needed, I have downloaded it on my... (7 Replies)
Discussion started by: solaris_1977
7 Replies