Testing Screen Resolution ?

Michael Lunnay mlunnay at bigpond.net.au
Fri May 25 09:21:54 EDT 2001


you need to call the winfo_screenheight() and winfo_screenwidth() functions
on a widget, or the root Tk() object.

Michael

"Peter Moscatt" <pmoscatt at bigpond.net.au> wrote in message
news:_2sP6.77051$ff.592205 at news-server.bigpond.net.au...
> How does one test the screen resolution using Python/Tkinter ?
>
> I am wanting to place a Frame widget in and want it to execute to maximise
> to the screen co-ords.
>
> Pete
>





More information about the Python-list mailing list