[wxPython-users] Toggle bitmaps on toolbar

Christopher Barker Chris.Barker at noaa.gov
Thu Jun 14 10:07:56 PDT 2007


>> Brian Wolf wrote:
>>> Is there a straight-forward way to add a button to a frame's Toolbar 
>>> so that the bitmap displayed can be toggled easily between two 
>>> bitmaps, depending upon status?

If wxToolBar doesn't behave as you'd like, it really wouldn't be very 
hard to make a custom control that did just what you want, at least for 
this simple instance.

-CHB

-- 
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