TabbedButtonBar::setCurrentTabIndex() suppress events


#1

Jules,

any chance of adding a flag to suppress change events to :

TabbedButtonBar::setCurrentTabIndex()


#2

I’m sure that can be arranged.

Though it brings up the question of whether to add a parameter called “dontSendChangeMessage”, or “sendChangeMessage”… Since I’ve used both versions in other classes, it’s hard to know which one would be more consistent!


#3

i vote for “sendChangeMessage” it’s more obvious to me.


#4

i’m more for a enum::SendChangeMessage applied globally


#5

[quote=“jules”]I’m sure that can be arranged.

Though it brings up the question of whether to add a parameter called “dontSendChangeMessage”, or “sendChangeMessage”… Since I’ve used both versions in other classes, it’s hard to know which one would be more consistent![/quote]

did you notice the carefully non-committal approach I took to that very question in my original post?


#6

[quote=“valley”][quote=“jules”]I’m sure that can be arranged.

Though it brings up the question of whether to add a parameter called “dontSendChangeMessage”, or “sendChangeMessage”… Since I’ve used both versions in other classes, it’s hard to know which one would be more consistent![/quote]

did you notice the carefully non-committal approach I took to that very question in my original post?[/quote]

yes, that subtlety wasn’t lost on me!