wxBitmapFromImage function in wxPython?

Stephane SOPPERA soppers3 at cti.ecp.fr
Sun Dec 30 15:40:19 EST 2001


I read in the documentation of wxPython that this function exists:

    wxBitmapFromImage(image, depth=-1)
                                                       Convert a wxImage
to a wxBitmap.

But the Python does not know it.
When I use it, it return an Nameerror exception. (I use the from
wxPython.wx import * command)
It's not in dir(wxPython.wx).
I'm using python 2.1.
Is that function really exists?
What could be another solution to do the same thing?

Thanks in advance,

--
Stephane SOPPERA
http://stephane.soppera.free.fr






More information about the Python-list mailing list