Event-to-script connections run a script (method) whenever a particular event occurs.
For example, an event-to-script connection might connect the clicked event of a push button to a method that displays a message box.
The connection is, by default, green. It has a solid-line arrow with
an arrow head at the script end of the connection. An icon on the
free-form surface represents the script.