summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
diff options
context:
space:
mode:
authorhobbs <hobbs>2000-10-31 00:52:11 (GMT)
committerhobbs <hobbs>2000-10-31 00:52:11 (GMT)
commit032d4fd9828b704021d738faadf62f421c1c0778 (patch)
tree010254ab4340cf22f9bf10f97f5b9ebdf9eee669 /library/tk.tcl
parenta9cde766a59152713ad488a8c0b3a37b1bfe5e3b (diff)
downloadtk-032d4fd9828b704021d738faadf62f421c1c0778.zip
tk-032d4fd9828b704021d738faadf62f421c1c0778.tar.gz
tk-032d4fd9828b704021d738faadf62f421c1c0778.tar.bz2
* tests/tk.test:
* doc/tk.n: updated to reflect default on status of useinputmethods. * library/tk.tcl: tk useinputmethods is set to 1 by default. This enables Kanji and dead-char input by default. Intro'd in 1999-12-16 with default off to avoid some problems with older X servers that would slow down widget creation over time.
Diffstat (limited to 'library/tk.tcl')
-rw-r--r--library/tk.tcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 2e872a9..0ad077e 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -3,7 +3,7 @@
# Initialization script normally executed in the interpreter for each
# Tk-based application. Arranges class bindings for widgets.
#
-# RCS: @(#) $Id: tk.tcl,v 1.25 2000/09/30 18:00:12 drh Exp $
+# RCS: @(#) $Id: tk.tcl,v 1.26 2000/10/31 00:52:11 hobbs Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -33,6 +33,10 @@ if {[info exists auto_path] && [string compare {} $tk_library] && \
set tk_strictMotif 0
+# Turn on useinputmethods (X Input Methods) by default.
+
+tk useinputmethods 1
+
# Create a ::tk namespace
namespace eval ::tk {