summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2001-12-14 14:56:46 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2001-12-14 14:56:46 (GMT)
commit3d23a673a8e603624aa519ff20c111b60e747272 (patch)
treeded0be506dc2a4b3aef3e4c0225bde88e94706ac /doc
parentac16b84351a5dbd1be30487f10933e887db224a0 (diff)
downloadtk-3d23a673a8e603624aa519ff20c111b60e747272.zip
tk-3d23a673a8e603624aa519ff20c111b60e747272.tar.gz
tk-3d23a673a8e603624aa519ff20c111b60e747272.tar.bz2
Added code to guess the correct default extension from whatever value
was selected in the filetypes option menu. Adapted from code by Chris Nelson submitted in Patch #492220.
Diffstat (limited to 'doc')
-rw-r--r--doc/getOpenFile.n8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/getOpenFile.n b/doc/getOpenFile.n
index 26625d2..f2a57bd 100644
--- a/doc/getOpenFile.n
+++ b/doc/getOpenFile.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: getOpenFile.n,v 1.8 2000/07/25 21:14:35 jenglish Exp $
+'\" RCS: @(#) $Id: getOpenFile.n,v 1.9 2001/12/14 14:56:46 dkf Exp $
'\"
.so man.macros
.TH tk_getOpenFile n 4.2 Tk "Tk Built-In Commands"
@@ -42,7 +42,11 @@ Specifies a string that will be appended to the filename if the user
enters a filename without an extension. The defaut value is the empty
string, which means no extension will be appended to the filename in
any case. This option is ignored on the Macintosh platform, which
-does not require extensions to filenames.
+does not require extensions to filenames,
+.VS 8.4
+and the UNIX implementation guesses reasonable values for this from
+the \fB\-filetypes\fR option when this is not supplied.
+.VE 8.4
.TP
\fB\-filetypes\fR \fIfilePatternList\fR
If a \fBFile types\fR listbox exists in the file dialog on the particular