p5.touchgui icon indicating copy to clipboard operation
p5.touchgui copied to clipboard

Callback common to three buttons

Open alx-1 opened this issue 3 years ago • 0 comments

Hello and thank you for your work (and I hope your back to full health).

I have three buttons and I would like to use the same callback yet know which of the three has changed...is there a way to pass an argument to the 'printHello()' function in the button example?

I could hide the labels by changing their color to the button fill but I'd prefer using the buttons without labels.

thank you

alx-1 avatar May 16 '21 05:05 alx-1