Change button text when clicked

Is there a simple way to do have a button’s text change when the user hits it. Something like a setLabel() method or something, I can’t seem to find one in the documentation. Cheers.

Try Button::setButtonText (const String & newText)

Thanks, I don’t know how I missed that…