PyDocs

Nav

Graphical user interfaces with Tk

Wm.aspect

tkinter

method of Wm
  • Wm.aspect(minNumer=None, minDenom=None, maxNumer=None, maxDenom=None)
Constrain the aspect ratio (the ratio of width to height) of the window. If all four arguments are given, the window manager keeps the ratio between minNumer/minDenom and maxNumer/maxDenom; passing empty strings removes any existing restriction. With no arguments, return a tuple of the four current values, or None if no aspect restriction is in effect. wm_aspect() is an alias of aspect().
0 Examples
No examples for tkinter/Wm.aspect.
See Also
No see-alsos for tkinter/Wm.aspect
0 Notes
No notes for Wm.aspect