onStateChanged

The pressed state has changed.

Origin: Button

onStateChanged 1:

Available from version 1.10