event

An event is a signal received by a program from the operating system as a result of some action taken by the user, or because something else has happened. Here are some examples:
* The user clicks a mouse button.
* The user presses a key on the keyboard.
* The user closes a window.
* Some data from the Internet arrives at one of the computer's "ports".