wm aspect
Gives or sets the limits of the ratio of width to height of a toplevel.
wm aspect WINDOW ?MINNUMER MINDENOM MAXNUMER MAXDENOM?
Description
In Tk, the window manager keeps the ratio of the width to the height between MINNUMER/MINDENOM and MAXNUMER/MAXDENOM. ztk stores the four values with no check and with no effect on the window.
Returns
A list of four values, or an empty string.
Examples
% toplevel .t
> wm aspect .t 1 2 3 4
> wm aspect .t
1 2 3 4
Errors
ztk stores each value with no check.
Facts
- Capability
- None.
- Tcl release
- Tcl 9.1 and 8.6.
- Since
- ztk 1.0.0-beta.1