glutinitwindowsize(3) - Linux man page

Name

glutInitWindowSize - Requests future windows to open at a given width/height..

Library

OpenGLUT - window

Synopsis

#include <openglut.h>

void

glutInitWindowSize(int width, int height);

Parameters

width Width of future windows.

height Height of future windows.

Description

This function allows you to request initial dimensions for future windows.

There is a callback function to inform you of the new window shape (whether initially opened, changed by your glutReshapeWindow() request, or changed directly by the user).

See Also

glutreshapewindow(3) glutinit(3) glutinitwindowposition(3) glutinitdisplaymode(3) glutinitdisplaystring(3) glutreshapefunc(3) glutget(3)

BSD Epoch BSD

Referenced By

glutfullscreen(3), glutsetoption(3)