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

[Xotcl] Suggestion needed

From: Victor Mayevski <vitick_at_gmail.com>
Date: Mon, 19 Jan 2015 13:11:21 -0800

Using NX, over some period of time, I have find myself customizing
nx::Object (adding my own methods to it) in order to adapt NX to my
personal needs. It works and is a nice way to extend NX globally but I
would rather not pollute the nx:: namespace. Can there be a better way of
doing it, like, for example "nx copy nxcustom" and then using
nxcustom::Object and nxcustom::Class? I have tried making a copy of the
nx.tcl source file and renaming the "nx" namespace in it. That does work
nicely but might not be the best way of doing it. Any suggestions?

Thanks