wxBitmapFromImage function in wxPython?

stalin woodsplitter at rocketmail.com
Sun Dec 30 22:54:08 EST 2001


Stephane SOPPERA wrote:
> I read in the documentation of wxPython that this function exists:
>   wxBitmapFromImage(image, depth=-1)
> ...
> It's not in dir(wxPython.wx).
> I'm using python 2.1.

  You don't mention what version of wxPython you're using, but I know
that wxBitmapFromImage is supported by wxPython 2.3.2.1, the version
I'm using.

c:\>python -c "from wxPython.wx import *; print wxBitmapFromImage"
<function wxBitmapFromImage at 0x00E2A1C0>



More information about the Python-list mailing list