.Dt GLUTSETWINDOW 3 LOCAL

NAME glutSetWindow Select the <i>current window</i>

LIBRARYOpenGLUT - window

SYNOPSIS #include <openglut.h>
void glutSetWindow(int ID);

PARAMETERS. Bf
 ID . Ef
       Window identifier

DESCRIPTIONSets the . Bf
 current window . Ef
  to . Bf
 ID. . EfAll OpenGL rendering goes to the . Bf
 current window . Ef
 . Many OpenGLUT functions also implicitly use the . Bf
 current window . Ef
 .
Many OpenGLUT callback operations are tied to a window. When your callback is invoked, OpenGLUT will set that particular window to be the . Bf
 current window . Ef
 . However, some callbacks---such as that registered via glutIdleFunc()---do not have associated windows. If a callback is not associated to a particular window, then when OpenGLUT invokes that callback you should . Bf
 always . Ef
  use glutSetWindow() to select the appropriate window before doing any OpenGL rendering or doing any OpenGLUT window-related operations.
There may be cases when you can get away with assuming that the . Bf
 current window . Ef
  is unchanged since some prior time, but OpenGLUT has considerable liberaty with respect to when it invokes your functions. Also, your program may add more windows or more operations on other windows as you develop it.
Lastly, this is a convenient way to select among multiple windows for drawing without actually waiting for that window's display callback. Simply set the . Bf
 current window . Ef
  and draw immediately. This is not always advisable, but may be practical.
It is an error to set the . Bf
 current window . Ef
  to a non-existant window (e.g., one that you have closed). A warning will be printed on . Bf
 stderr . Ef
 if you try to do so, and the . Bf
 current window . Ef
  should be unchanged.

SEE ALSOglutGetWindow(3) fl.sp 3
0
Johanes Gumabo
Data Size   :   5,494 byte
man-glutSetWindow.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 199,121
Visitor ID   :     :  
Visitor IP   :   18.217.10.152   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.

ERROR : Need New Coding :         (parse_manual_page_|249|glutSetWindow.3|2|Dt|.Dt GLUTSETWINDOW 3 LOCAL )         (parse_manual_page_|249|glutSetWindow.3|15|Bf|.Bf Em )         (parse_manual_page_|249|glutSetWindow.3|17|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|21|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|23|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|25|Bf|.Bf Sy )         (parse_manual_page_|249|glutSetWindow.3|27|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|31|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|33|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|36|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|38|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|44|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|46|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|53|Bf|.Bf Em )         (parse_manual_page_|249|glutSetWindow.3|55|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|63|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|65|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|75|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|77|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|82|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|84|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|88|Bf|.Bf Sy )         (parse_manual_page_|249|glutSetWindow.3|90|Ef|.Ef )         (parse_manual_page_|249|glutSetWindow.3|93|Bf|.Bf Li )         (parse_manual_page_|249|glutSetWindow.3|95|Ef|.Ef )