glutReshapeWindow

requests a change to the size of the current window.

Signature

glutReshapeWindow( int( width ) , int( height ) )-> void
glutReshapeWindow( width , height )
glutReshapeWindow( c_int(width), c_int(height) ) -> None

Parameters

VariablesDescription
width
New width of window in pixels.
height
New height of window in pixels.

See Also

glutPositionWindow glutReshapeFunc

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.

glutReshapeWindow
OpenGLContext tests/glut_fullscreen.py Lines: 39
Glinter Widget.py Lines: 38
{LGPL} PyMT pymt/ui/window/win_glut.py Lines: 15, 70