Example 'Buttons' - sense of variable 'locked'???
in
Programming Questions
•
2 years ago
Hi all,
I have a question to following gui example:
http://processing.org/learning/topics/buttons.html
What is variable 'locked' doing?
I understood that it is suppressing updating each button once (when clicking at a button) - but why?
Maybe somebody can explain.
Thank you!
I have a question to following gui example:
http://processing.org/learning/topics/buttons.html
What is variable 'locked' doing?
I understood that it is suppressing updating each button once (when clicking at a button) - but why?
Maybe somebody can explain.
Thank you!
1