summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-12-14 14:56:46 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-12-14 14:56:46 (GMT)
commitcb028bc2763e8b11a687f4d7ce2a4f663df20eae (patch)
treeded0be506dc2a4b3aef3e4c0225bde88e94706ac /doc
parent0237d96dcf280293c2df424bca568c9023ffe783 (diff)
downloadtk-cb028bc2763e8b11a687f4d7ce2a4f663df20eae.zip
tk-cb028bc2763e8b11a687f4d7ce2a4f663df20eae.tar.gz
tk-cb028bc2763e8b11a687f4d7ce2a4f663df20eae.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