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)
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)
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)
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)