Index: doc/example-scripts/tk-mini.html =================================================================== diff -u -r6ad7855cd7aba089f7a160293802e1639d0d6198 -rd31c271afb2488abafa0642b07538a3e62106130 --- doc/example-scripts/tk-mini.html (.../tk-mini.html) (revision 6ad7855cd7aba089f7a160293802e1639d0d6198) +++ doc/example-scripts/tk-mini.html (.../tk-mini.html) (revision d31c271afb2488abafa0642b07538a3e62106130) @@ -735,7 +735,7 @@ .nx-variable {color: #AF663F; font-weight: normal; font-style: normal;}
package require Tk -package require nx::callback +package require nx::trait nx::Class create MyClass { # @@ -744,9 +744,9 @@ # content of the variable is placed into an additional output label. # - # The trait TCallback imports methods "callback" and "bindvar" + # The callback trait imports methods "callback" and "bindvar": # - :require trait nx::TCallback + :require trait nx::traits::callback :public method button-pressed {} { # When this method is invoked, the content of the ".label" widget @@ -771,7 +771,7 @@