diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2004-10-28 10:19:28 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2004-10-28 10:19:28 (GMT) |
commit | 687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193 (patch) | |
tree | 4510d45a04d9e2aca7a63a3473795ac8dd76d9c8 /doc/getOpenFile.n | |
parent | e858401f8bf6377c0ed3e19ca52b42ca7eea5b22 (diff) | |
download | tk-687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193.zip tk-687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193.tar.gz tk-687ea9c7fa1c93b45ecfe7c1e2a4903c1d66f193.tar.bz2 |
Backport of documentation fixes
Diffstat (limited to 'doc/getOpenFile.n')
-rw-r--r-- | doc/getOpenFile.n | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/getOpenFile.n b/doc/getOpenFile.n index 18ac2ca..e167bf9 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.10 2002/04/19 22:16:02 jenglish Exp $ +'\" RCS: @(#) $Id: getOpenFile.n,v 1.10.2.1 2004/10/28 10:19:29 dkf Exp $ '\" .so man.macros .TH tk_getOpenFile n 4.2 Tk "Tk Built-In Commands" @@ -24,7 +24,7 @@ The procedures \fBtk_getOpenFile\fR and \fBtk_getSaveFile\fR pop up a dialog box for the user to select a file to open or save. The \fBtk_getOpenFile\fR command is usually associated with the \fBOpen\fR command in the \fBFile\fR menu. Its purpose is for the user to select an -existing file \fIonly\fR. If the user enters an non-existent file, the +existing file \fIonly\fR. If the user enters a non-existent file, the dialog box gives the user an error prompt and requires the user to give an alternative selection. If an application allows the user to create new files, it should do so by providing a separate \fBNew\fR menu command. @@ -39,7 +39,7 @@ arguments to these two commands: .TP \fB\-defaultextension\fR \fIextension\fR 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 +enters a filename without an extension. The default 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, @@ -55,7 +55,7 @@ the user choose a filetype in the listbox, only the files of that type are listed. If this option is unspecified, or if it is set to the empty list, or if the \fBFile types\fR listbox is not supported by the particular platform then all files are listed regardless of their -types. See the section SPECIFYING FILE PATTERNS below for a +types. See the section \fBSPECIFYING FILE PATTERNS\fR below for a discussion on the contents of \fIfilePatternList\fR. .TP \fB\-initialdir\fR \fIdirectory\fR @@ -128,7 +128,7 @@ in the sample code matches files that EITHER have a \fB\.gif\fR extension OR belong to the \fImacType\fR \fBGIFF\fR. .PP On the Unix and Windows platforms, a file matches a file pattern -if its name matches at at least one of the \fIextension\fR(s) of +if its name matches at least one of the \fIextension\fR(s) of the file pattern. The \fImacType\fRs are ignored. .SH "SPECIFYING EXTENSIONS" .PP @@ -144,7 +144,7 @@ card characters (* and ?). Due to the different pattern matching rules on the various platforms, to ensure portability, wild card characters are not allowed in the extensions, except as in the special extension *. Extensions -without a full stop character (e.g, ~) are allowed but may not +without a full stop character (e.g. ~) are allowed but may not work on all platforms. .SH EXAMPLE |