It seems that buttonClicked is triggered for both the toggled AND the untoggled button.
it's fine for buttonStateChanged, but buttonClicked should only be triggered for the clicked button no?
No, that's behaving correctly. A toggle-button's click method gets called whenever it gets changed.
ok, but then the documentation should say it. For now it is just :
/** Called when the button is clicked. */ virtual void buttonClicked (Button*) = 0;
No, there's nothing wrong with that.. As far as the individual buttons are concerned, they are getting clicked when they become disabled, just as if you were clicking on a toggle button that's not part of a group.
ah ok , that's fine. thanks jules