glutCreateSubWindow

creates a subwindow.

Signature

glutCreateSubWindow( int( win ) , int( x ) , int( y ) , int( width ) , int( height ) )-> int
glutCreateSubWindow( window , x , y , width , height ) -> <class 'ctypes.c_int'>
glutCreateSubWindow( c_int(window), c_int(x), c_int(y), c_int(width), c_int(height) ) -> c_int

Parameters

VariablesDescription
win
Identifier of the subwindow's parent window.
x
Window X location in pixels relative to parent window's origin.
y
Window Y location in pixels relative to parent window's origin.
width
Width in pixels.
height
Height in pixels.

See Also

glutCreateWindow glutDestroyWindow

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glutCreateSubWindow
Glinter Core.py Lines: 781