Allows you to specify a method to call when an event occurs. Click the button to the right of the actionEvent resource in the Resource Editor to pop up the Event Editor:
Click on the Code or App toggle of the Resource Placement field. Enter the event name in the text field and click on Apply. Click on Edit to generate code.