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

7 lines
217 B
Plaintext
Raw Normal View History

1996-09-27 06:29:02 -04:00
;; Even more event binding: accessing the event parameters
(entry '.e1 :relief "sunken")
(pack .e1 :expand #t :fill "x")
(bind .e1 "<ButtonPress-1>" (lambda (x y)
(format #t "button down at ~a,~a\n" x y)))