Event handling
From Wiki @ Karl Jones dot com
In computer programming, event handling refers to the process of a subroutine running in response to an event.
Description
The subroutine is commonly referred to as an event handler.
When a specified event occurs, the subroutine runs.
The running of the subroutine is known as event handling.
The subroutine is said to "handle the event".