[Xotcl] nx question

Rene Zaumseil r.zaumseil at freenet.de
Mon Mar 26 21:52:40 CEST 2012


Hi,

I have a question regarding properties in nx.

A property can be set at creation time with
  <class> create <object> -property value
and later get with
  <object> property
and set with
  <object> property value

What was the reason not to use -property
as method name of the accessor function?
The -property notation seems IMO better
and does not interfere with normal method
names of an object. It is like the option
notation in tk.


Regards,
rene


More information about the Xotcl mailing list