<html><body>
<p><tt>xotcl-bounces@alice.wu-wien.ac.at wrote on 03/19/2006 05:32:31 AM:<br>
<br>
> <br>
> On 19 Mar 2006, at 14:09, Scott Gargash wrote:<br>
> <br>
> > xotcl-bounces@alice.wu-wien.ac.at wrote on 03/19/2006 04:08:40 AM:<br>
> ><br>
> > ><br>
> > > On 19 Mar 2006, at 00:12, Scott Gargash wrote:<br>
> > > ><br>
> > > > When would you need the namespace of the object?<br>
> > > I have only ever needed the namespace of an object which attaching<br>
> > > traces to variables (f.ex. with Tk), but for that it is,<br>
> > > unfortunately quite necessary.<br>
> ><br>
> > I haven't used it yet, but doesn't the "trace" method handle this?<br>
> <br>
> No. Some tk widgets map their values to Tcl variables. Other similar <br>
> interfaces exist. It is handy to map them to an instance variable but <br>
> for that it is necessary to have the namespaced version available.</tt><br>
<br>
<tt>Snit has a "myvar" method that returns the fully qualified name of a snit member variable. Perhaps something similiar (a method that returned a "reference" to an instance variable) would be useful in XOTcl? </tt><br>
<br>
<tt>        Scott</tt></body></html>