Kristoffer Lawson schrieb:
Except that this only works 'afterwards'. So it doesn't actually help, as I'd still have to apply it after I create objects etc.
i thought you want to turn on checking for all objects (which means existing objects).
when really I just want to turn it on at the top of the application and leave it at that.
For the moment I managed this with a filter that is called every time an object is initialised, but I would imagine this the kind of thing that should be handled elegantly by the XOTcl core?
Why a filter?
in order to turn an checking for objects as you create these, you might use something like the following:
Object instmixin [Class new -instproc init args {my check all; next}]
-gustaf
/ http://www.fishpool.com/~setok/