summaryrefslogtreecommitdiffstats
path: root/library/demos/widget
diff options
context:
space:
mode:
Diffstat (limited to 'library/demos/widget')
-rw-r--r--library/demos/widget7
1 files changed, 5 insertions, 2 deletions
diff --git a/library/demos/widget b/library/demos/widget
index ae32937..0b538f3 100644
--- a/library/demos/widget
+++ b/library/demos/widget
@@ -11,10 +11,13 @@ exec wish "$0" "$@"
# ".tcl" files is this directory, which are sourced by this script
# as needed.
#
-# RCS: @(#) $Id: widget,v 1.16 2003/09/25 05:37:00 das Exp $
+# RCS: @(#) $Id: widget,v 1.17 2003/09/30 14:54:30 dkf Exp $
-eval destroy [winfo child .]
+package require Tcl 8.4
+package require Tk 8.4
package require msgcat
+
+eval destroy [winfo child .]
::msgcat::mcload [file join $tk_library demos]
namespace import ::msgcat::mc
wm title . [mc "Widget Demonstration"]