Re: Building STk on HP-UX

From: <kanderso_at_BBN.COM>
Date: Tue, 14 Feb 95 09:00:08 -0500

Does this approach make sense?

(button "Frob" :command
   (create-callback table (lambda () (frob ...))))

Create-callback interns the closure and associates it with a string. It
returns a string that when executed by Tk looks up the calback by name and
funcalls it. If you had one table per application, you could throw it away
when the application is deactivated.
Received on Tue Feb 14 1995 - 15:09:26 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST