I don't know if anyone has alreaty implemented a feature like this,
but you can do it by using metaclass.
I haven't seen any document on MOP of STKlos, but the source
codes like Tk-meta.stklos are good examples to start with.
You need to define your composite metaclass which generates
getters and setters automatically.
Actually Tk-metaclasses does similar thing on :tk-virtual slot.
--
Shiro KAWAI
Square USA Inc. Honolulu Studio, R&D division
#"The most important things are the hardest things to say" --- Stephen King
Received on Sat Sep 20 1997 - 03:07:03 CEST