Working through the zetcode wxWidget tutorials:WidgetsI:wxToggleButton

Ok…. Finally past this wxBitmapButton.
wxToggleButton is next..
This is sort of interesting since I don’t recall this in Vb6.. Maybe it’s there, just never used it…
The previous widget, wxBitmapButton had three states, selected, focused and displayed.
WxToggleButton has only two, pressed and not pressed.
This sort of looks like a checkbox command less the checkbox..
Alright lets see if there is anything exciting here…
Actually, this so sort of interesting from the application side.
There’s a couple of interesting things going on here…
You have 3 toogle buttons, red,green, blue and a panel..
All buttons off we have black in the panel, all on you have white…. Permutations well I think you can guess what happens…
There a wxColour object.. It is initially set by,
Bunch of interesting things… but nothing worth stoping… The event handler is still a little fuzzy for me…
On to the next one…

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *