How does one test the screen resolution using Python/Tkinter ?

Laura Creighton lac at cd.chalmers.se
Fri May 25 10:54:40 EDT 2001


First of all, you glue 
http://www.pythonware.com/library/tkinter/introduction/index.htm
some place very convenient in your web browser, because you will
be using this a lot.  YOu can get a paper copy made as well here:
http://www.pythonware.com/library/
if you can read PDF

Okay, what of Fredrik Lundh's chapters looks good?  Basic Window Methods
Window related information looks good to me.  <click>

Here we are:
http://www.pythonware.com/library/tkinter/introduction/x9170-window-related-information.htm

what does it say?
     winfo_screenwidth(), winfo_screenheight(). Return the width (height) of self's screen, in pixels.

Thank you Fredrik, back to work.

Laura Creighton





More information about the Python-list mailing list