Testing Screen Resolution ?

Fredrik Lundh fredrik at pythonware.com
Fri May 25 10:04:03 EDT 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