summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
diff options
context:
space:
mode:
authorericm <ericm>2000-01-27 00:23:10 (GMT)
committerericm <ericm>2000-01-27 00:23:10 (GMT)
commit40b335d9b0c6ca46aa6f5bba4f95528fea233129 (patch)
treee9779997eb2be15e478fc405ca04237abcb9a671 /library/tk.tcl
parent7e47234206a345a0b8dcbe7bd066ed360e4a9942 (diff)
downloadtk-40b335d9b0c6ca46aa6f5bba4f95528fea233129.zip
tk-40b335d9b0c6ca46aa6f5bba4f95528fea233129.tar.gz
tk-40b335d9b0c6ca46aa6f5bba4f95528fea233129.tar.bz2
* doc/getOpenFile.n:
* doc/chooseDirectory.n: Man page/cross links for tk_chooseDirectory (bug #1786). * library/tk.tcl: * library/tclIndex: Added hooks for tk_chooseDirectory. (bug #1786) * library/choosedir.tcl: tk_chooseDirectory implementation for Unix/Mac (bug #1786).
Diffstat (limited to 'library/tk.tcl')
-rw-r--r--library/tk.tcl7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 5c8e5cc..e5347cc 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.16 2000/01/20 02:32:52 ericm Exp $
+# RCS: @(#) $Id: tk.tcl,v 1.17 2000/01/27 00:23:10 ericm Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -254,6 +254,11 @@ if {[string equal [info commands tk_messageBox] ""]} {
return [eval tkMessageBox $args]
}
}
+if {[string equal [info command tk_chooseDirectory] ""]} {
+ proc tk_chooseDirectory {args} {
+ return [eval ::tkChooseDirectory::tk_chooseDirectory $args]
+ }
+}
#----------------------------------------------------------------------
# Define the set of common virtual events.