Query screen resolution?

Nobody nobody at nowhere.com
Sat Aug 29 15:19:36 EDT 2009


On Fri, 28 Aug 2009 20:15:57 -0700, Warpcat wrote:

>> Your question is based upon the notion that "the screen" is a meaningful
>> concept. Once you move away from Windows (and systems which intentionally
>> try to be like Windows), that's no longer true.
> 
> Good points.  Always something I haven't thought of.  Ok so... let's
> *presume* the user has a measurable screen on win\mac\linux\etc since
> on any other OS they wouldn't be running the app....

If it's a GUI app, you ask the GUI toolkit which you're using.

[And if it isn't a GUI app, why would the screen resolution be relevant?]




More information about the Python-list mailing list