Screen depth
Fredrik Lundh
fredrik at pythonware.com
Fri Jan 21 07:17:14 EST 2000
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