Events:
You might also want to have a look at the source code resp. console output to see how events are triggered.