. . "Where Foo is a function that gets called when I click on a button on the SetterBar, ideally with an argument corresponding to the button I pressed." . .