Well I really don't know what would be a name for this. I just needed
a "Settings" dialog for my app with a widget where I could have check
buttons, radio buttons, both, and the ability to display them
hierarchically.
The picture <btcp.jpg> shows what happens when you launch
<TestBTCP.py> -- a demo showing three instances of the control; The
button outputs a list of all items checked on all three test
instances.
<ButtonTreeCtrlPanel.py> is the widget itself and
<ButtonTreeCtrlPanelImages.py> contains the images for the check and
radio buttons used by the widget. The test also needs <images.py>
supplied within the wxPython Demo (not attached here).
If anyone is interested please feel free to use it.
Tested under Python 2.3.3, wxPython 2.5.1.5, Win XP.
Regards,
-- tacao
TestBTCP.py (4.15 KB)
ButtonTreeCtrlPanel.py (5.38 KB)
ButtonTreeCtrlPanelImages.py (3.56 KB)