Screen depth

Robin Dunn robin at alldunn.com
Fri Jan 21 19:51:36 EST 2000


You can use wxDisplayDepth().


--
Robin Dunn
Software Craftsman
robin at AllDunn.com
http://AllDunn.com/robin/
http://AllDunn.com/wxPython/  Check it out!


"Pieter Claerhout" <PClaerhout at CREO.BE> wrote in message
news:2B1262E83448D211AE4B00A0C9D61B03BA707B at MSGEURO1...
> 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.h
tm
> 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