| pythonware.com | products ::: library ::: search ::: daily Python-URL! |
Window Geometry MethodsWindow Geometry Methodsgeometrygeometry(). Returns a string describing self's "geometry". The string has the following format: "%dx%d%+d%+d" % (width, height, xoffset, yoffset) where all coordinates are given in pixels. geometrygeometry(geometry). Change the geometry for self. The string format is as described above. aspectaspect(minNumer, minDenom, maxNumer, maxDenom), aspect(). Control the aspect ratio of this window. If no arguments are given, this method returns the current constraints as a 4-tuple, if any. maxsizemaxsize(width, height), maxsize(). Set (get) the maximum size for this window. minsizeminsize(width, height), minsize(). Set (get) the minimum size for this window. resizableresizable(width, height), resizable(). Set (get) the resize flags. |