stk/Contrib/STk-wtour/lessons/bind2.stk

8 lines
195 B
Plaintext
Raw Normal View History

1996-09-27 06:29:02 -04:00
;; More event binding
(entry '.e1 :relief "sunken")
(pack .e1 :expand #t :fill "x")
(bind .e1 "<Enter>" (lambda () (display "ENTERED\n")))
(bind .e1 "<Leave>" (lambda () (display "EXITED\n")))