The basic format of an event binding is as follows:
Each widget has the ability to listen to the system for one of many event types. Each event type has a particular string defined within Tkinter to allow it to be mapped over to the Python interface. When the event passed via this string occurs, the function passed as the second parameter is executed. Note that the function is passed and not executed, just like the command argument of a Button widget.