Screen depth
Pieter Claerhout
PClaerhout at CREO.BE
Fri Jan 21 06:59:58 EST 2000
I'm using wxPython...
Pieter
-----Original Message-----
From: Fredrik Lundh [mailto:fredrik at pythonware.com]
Sent: Friday, January 21, 2000 1:17 PM
To: Pieter Claerhout
Cc: Python Mailing List
Subject: Re: Screen depth
Pieter Claerhout <PClaerhout at CREO.BE> wrote:
> I'm working on Windows NT and 95/98.
using Tkinter? wxPython? gtk? PythonWin?
for Tkinter, the answer is here:
http://www.pythonware.com/library/tkinter/introduction/basic-widget-methods.htm
look for winfo_depth under "window related information"
(or you can use an undocumented feature in PIL:
Image.core.display_mode() returns a tuple with mode
and size).
</F>
More information about the Python-list
mailing list