Name: Anonymous 2010-08-13 13:46
I have 5 toggle buttons in gtk and I want them to behave like radio buttons where clicking one will cause the others to deactivate.
I thought my initial solution was simple enough. Simply program each button to deactivate the all the others when clicked. The problem is though, a change in state counts as a "clicked" signal so the other button ends up running its "deactivate all other buttons" code as well and ends up deactivating the clicked button.
I thought my initial solution was simple enough. Simply program each button to deactivate the all the others when clicked. The problem is though, a change in state counts as a "clicked" signal so the other button ends up running its "deactivate all other buttons" code as well and ends up deactivating the clicked button.