Radio Button and buttonClicked issue


#1


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?
 


#2

No, that's behaving correctly. A toggle-button's click method gets called whenever it gets changed.


#3

ok, but then the documentation should say it. For now it is just :

        /** Called when the button is clicked. */
        virtual void buttonClicked (Button*) = 0;

#4

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.


#5

ah ok , that's fine. thanks jules