Getting screen dims platform specific? Say it ain't so!
kyrie at uh.cu
Wed Feb 25 01:41:09 CET 2009
On Tuesday 24 February 2009 07:12:36 pm Lionel wrote:
> In a nutshell, what I need is a way to acquire the screen dimensions
> (in pixels) and its dpi setting.
This is a guess, and a guess only.
What do you want to know it for? If it is for painting something on the
screen, maybe (just maybe - I'm guessing here big time), whatever API you are
using for painting can be used for getting the dimensions of the drawing
device. I don't even know if GTK or Qt have that feature, but you should look
into it. If the same api you will use for painting provides that
functionality, then it would be kind of irrelevant if it is on the stdlib or
Of course, this only applies if you want to paint and your api provides that
Luis Zarrabeitia (aka Kyrie)
Fac. de Matemática y Computación, UH.
More information about the Python-list