[wxPython-users] img2py
Christopher Barker
Chris.Barker at noaa.gov
Tue Oct 10 13:46:55 PDT 2006
justin mcguire wrote:
> if i do it as you say then i get this error:
That's what I get for posting untested code. Try this (still untested!):
Sizer.Add(wx.StaticBitmap(parent, bitmap=3Ddwpic)
Where parent is the wx.Widow that you want the Bitmap draw on. Every =
wx.Window constructor takes the parent as the first argument.
I've enclosed a little sample I put together that shows some of what you =
can do with a wx.StaticBitmap
-Chris
-- =
Christopher Barker, Ph.D.
Oceanographer
=
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StaticBitmap.py
Type: text/x-python
Size: 2657 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20061=
010/e5b35f22/StaticBitmap.py
More information about the wxpython-users
mailing list