[wxPython-users] wxStaticBitmap

Christopher Barker Chris.Barker at noaa.gov
Mon Nov 26 09:20:13 PST 2007



Andrea Gavana wrote:
> On Nov 26, 2007 12:10 AM, Barret Rennie wrote:
>>  under Windows 9x the
>> size of bitmap is limited to 64*64 pixels

Do you need to support Windows 9x anymore? I don't think newer systems 
have this limitation.

> Chris's suggestion (super good):
> 
> http://aspn.activestate.com/ASPN/Mail/Message/wxPython-users/3584175

This approach will give you greater flexibility, however.

I think you should take the name as a key to its use: a wx.StaticBitmap 
is for things that are, well, static. If you just want to put a bitmap 
up on a dialog that isn't changing, it's a good choice. If you're trying 
to dynamically display various images, it's not the best choice.

That being said, this will give you some hints on using wx.StaticBitmap:

http://wiki.wxpython.org/wxStaticBitmap

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (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




More information about the wxpython-users mailing list