Re: Question about bindings & STklos objects

From: Rob DeLine <Robert_DeLine_at_GS115.SP.CS.CMU.EDU>
Date: Thu, 17 Nov 1994 13:08:30 -0500

 
 
> So, does anyone have a way around this? [binding a method to an
event]

Change your line:
   (bind r "<Button-3>" `(flash ',r))

to this:
   (bind r "<Button-3>" `(flash ,(address-of r)))

The reader will be able to handle the address. I've chatted with
Erick in the past about this kludge -- specifically about changing
the reader to understand the object notation. I think this is a
problem that every new STk user runs into sooner or later.

Rob DeLine
Received on Thu Nov 17 1994 - 19:10:15 CET

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