Specifies the minimum size of a window.
void minsize(Int32 x, Int32 y)
SUBROUTINE MINSIZ(x, y) INTEGER*4 x, y
The minsize subroutine specifies the minimum size (in pixels) of a window. It is called at the beginning of a graphics program, but only takes effect when the winopen subroutine is called.
The minsize subroutine can also be called in conjunction with the winconstraints subroutine to modify the enforced minimum size after the window is created. The default minimum size is 40 pixels wide and 30 pixels high. The window can be reshaped, but cannot become smaller than the specified minimum size.
With the minsize subroutine, the programmer can prevent the user from resizing a window to a size smaller than the specified size.
Note: This subroutine cannot be used to add to a display list.
|x||Specifies the minimum width in pixels of a window. The lowest legal value for this parameter is 21.|
|y||Specifies the minimum height in pixels of a window. The lowest legal value for this parameter is 21.|
This subroutine is part of GL in the AIXwindows Environment/6000 Version 1, Release 2 with AIXwindows/3D Feature.
|/usr/include/gl/gl.h||Contains C language constant and variable type definitions for GL.|
|/usr/include/gl/fgl.h||Contains FORTRAN constant and variable type definitions for GL.|
Specifying pixel values to be added to a window with the fudge subroutine.
Obtaining the size of the window with the getsize subroutine.
Specifying the size of a window icon with the iconsize subroutine.
Specifying the maximum size of a window with the maxsize subroutine.
Constraining the size of a window with the prefsize subroutine.
Specifying a window size change in discrete steps with the stepunit subroutine.
Binding window constraints to the current window with the winconstraints subroutine.
Creating a window with the winopen subroutine.
Creating and Managing Windows.