View · Search · Index
No registered users in community xowiki
in last 10 minutes

[Xotcl] nx question

From: Rene Zaumseil <r.zaumseil_at_freenet.de>
Date: Mon, 26 Mar 2012 21:52:40 +0200

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