With the new widget library, I’ve noticed that the onRelease has been removed. You can still set it in the parameters (when you’re creating a button) but you’re no longer able to do this:
[lua]
button.onRelease=myFunc
[/lua]
This is actually devastating to me, as I do all of my onRelease setting after I create my buttons. I can’t just move over to putting all of my buttons after the onRelease, because I have references to them, and I can’t put all of the functions at the top of my code because I have references to them, too.
Can this please be added? Right now I’m attempting to create my own function to change the widget onTouch event to support self.onRelease. I have a feeling that’s not the best practice
C