Testing Screen Resolution ?

Fredrik Lundh fredrik at pythonware.com
Fri May 25 16:04:03 CEST 2001


Peter Moscatt wrote:
> How does one test the screen resolution using Python/Tkinter ?

    width = root.winfo_screenwidth()
    height = root.winfo_screenheight()

(where "root" can be replaced with any widget)

Cheers /F





More information about the Python-list mailing list