How to create wx.Bitmap from "xpm data"?
Grant Edwards
grante at visi.com
Wed May 2 14:20:18 PDT 2007
According to the page at http://www.wxwidgets.org/manuals/2.6/wx_wxbitmap.html#wxbitmapctor,
one can create a wx.Bitmap from "XPM data". However, I can't
find even a hint as to what wxPython expects "XPM data" to be.
The obvious answer would be it's what's in an .xpm file, but
that doesn't work. I've tried manipulating the contents of the
.xpm file a half-dozen different ways, but no matter what I
try, wx.Bitmap() always returns a bitmap with a size of -1,-1
instead of 24,24.
What's the expected format of "XPM data" for wx.Bitmap()?
--
Grant Edwards grante Yow! When you get your
at PH.D. will you get able to
visi.com work at BURGER KING?
More information about the wxpython-users
mailing list