Index: library/nx/nx.tcl =================================================================== diff -u -rba42e7d2b911f631d2bd104eb2e22a9da6f7e1bd -r8f14fdaf0de110b56e3132a178267f3372a32235 --- library/nx/nx.tcl (.../nx.tcl) (revision ba42e7d2b911f631d2bd104eb2e22a9da6f7e1bd) +++ library/nx/nx.tcl (.../nx.tcl) (revision 8f14fdaf0de110b56e3132a178267f3372a32235) @@ -639,6 +639,23 @@ } ###################################################################### + # Provide Tk-style methods for configure and cget + ###################################################################### + Object eval { + :public alias cget ::nsf::methods::object::cget + + :protected alias __configure ::nsf::methods::object::configure + :public method configure {args} { + if {[llength $args] == 0} { + [:info class] info parameter syntax + } else { + : __configure {*}$args + return + } + } + } + + ###################################################################### # Info definition ######################################################################