Detecting screen resolution using Tkinter

Arild Hansen arildh at stud.cs.uit.no
Tue Nov 7 06:11:37 EST 2000


Hello,

I have made a GUI application under Linux RedHat 7.0, python 2.0c1 using
Tkinter. The GUI looks extremely cool (!!) when I use a resolution 1024
* 768, but when I run the GUI in other resolutions the GUI sucks. So, I
would like to have the application detect the current screen resolution
and therefore adapt itself to this. My question is: How do I detect the
screen resolution in python? Thx for all help,

Arild Hansen




More information about the Python-list mailing list