Detecting screen resolution using Tkinter

Arild Hansen arildh at
Tue Nov 7 12:11:37 CET 2000


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