Determination of screen resolution?
David Lees
debl2noohnospammyyy at bellatlantic.net
Sun Jun 9 02:37:06 EDT 2002
OK, I should have done a little more digging. I just found the answer
to my question in the documentation which is simply:
v = canvas.winfo_vrootheight()
h = canvas.winfo_vrootwidth()
David Lees wrote:
>
> I would like to use tkinter and have the canvas object automatically
> scaled fit the screen. Is it possible to read the screen resolution
> (800x600, 1024,768...) from somewhere.
>
> David Lees
More information about the Python-list
mailing list