winconstraints(3G)winconstraints(3G)NAMEwinconstraints - binds window constraints to the current window
C SPECIFICATION
void winconstraints()PARAMETERS
none
DESCRIPTIONwinconstraints binds the currently specified constraints to the current
graphics window. (Logically, because this assumes the existence of a
current graphics window, you must have previously called winopen.) Prior
to calling winconstraints, you can set the values of the window
constraints by using the following commands: minsize, maxsize,
keepaspect, prefsize, prefposition, iconsize, noborder, noport, stepunit,
fudge, and imakebackground. Note that the position of a window can not
be constrained (pinned down). That is, if prefposition is used for
setting the initial size and position of a window, the resulting window
will still be movable.
After binding constraints to a window, winconstraints resets the window
constraints to their default values, if any.
SEE ALSO
fudge, keepaspect, iconsize, imakebackground, maxsize, minsize, noborder,
noport, prefposition, prefsize, stepunit, winopen
NOTE
This routine is available only in immediate mode.
Page 1