begin attaching key handlers.

trivial example to learn about tk