Bind is used to relate (user) events to program functions. Notation of events is like the X11 way of event specifications.
Bind
You can bind to normal widgets and canvas-items. For the whole canvas itself, you need the CanvasBind
bind
CanvasBind