Tk Source Code

Artifact [b3084bc1]
Login

Artifact b3084bc12229b077dd775b84026fe2bf5f5c279005ec1dcc7c2ea2a2405c0bab:

Attachment "getOpenFile.diff" to ticket [1a15f7cc] added by karelbilek 2025-04-24 10:29:45. (unpublished)
Index: doc/getOpenFile.n
==================================================================
--- doc/getOpenFile.n
+++ doc/getOpenFile.n
@@ -143,10 +143,12 @@
 file pattern and is the text string that appears in the \fBFile types\fR
 listbox. \fIextension\fR is a file extension for this file pattern.
 \fImacType\fR is a four-character Macintosh file type. The list of
 \fImacType\fRs is optional and may be omitted for applications that do
 not need to execute on the Macintosh platform.
+.PP
+Macintosh refers to OS 9 or earlier; on macOS, macType is ignored.
 .PP
 Several file patterns may have the same \fItypeName,\fR in which case
 they refer to the same file type and share the same entry in the
 listbox. When the user selects an entry in the listbox, all the files
 that match at least one of the file patterns corresponding
@@ -163,11 +165,11 @@
 you can use two file patterns, one with the \fIextensions\fR only and
 the other with the \fImacType\fR only. The \fBGIF Files\fR file type
 in the sample code matches files that \fIeither\fR 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
+On the Unix and Windows platforms (including macOS), a file matches a file pattern
 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
 On the Unix and Macintosh platforms, extensions are matched using