Example code for using wxPython GenBitmapToggleButton
$25-30 USD
Cancelled
Posted about 16 years ago
$25-30 USD
Paid on delivery
Need an python application that demonstrates how to use GenBitmapToggleButton from within Boa Constructor. On a plain frame, use the Boa IDE to place 5 GenBitmapToggleButton objects Assign Off condition bitmaps to be the grey ones in the zip file assign the On condition Bitmaps to be the Yellow version of the same image Add event code to toggle each of the buttons so that only one button can be on at a time - When a button is toggled on, the button previously set to on is toggled off. Add a Text field that displays the name of the button that is toggled on (Cancel, Down, Left, Right, Up) Save the toggle state to a file upon program exit - restore the previous state when the program is run again. When the program starts and does not find the persistent data file, set all buttons to off. Please comment the code so that I know which lines were created by Boa and what you did o create them and which lines you typed in yourself and what they do.
## Deliverables
This is just an example, not final use code. I need to be able to understand it. The example for the GenBitmapToggleButton contained in the wxPython Demonstration is too obscure and confusing and does not help when using the Boa IDE