summaryrefslogtreecommitdiffstats
path: root/doc/chooseDirectory.n
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2018-05-01 08:06:59 (GMT)
committerfvogel <fvogelnew1@free.fr>2018-05-01 08:06:59 (GMT)
commitc0037ffee061fd87a3943027d11cf318cf4354fa (patch)
treef29eb0e0e3d344e6ec01ad38446e1088b83192bf /doc/chooseDirectory.n
parent62c5fb4a8c8263d9fa409ec8997dcd43fc46aad0 (diff)
downloadtk-c0037ffee061fd87a3943027d11cf318cf4354fa.zip
tk-c0037ffee061fd87a3943027d11cf318cf4354fa.tar.gz
tk-c0037ffee061fd87a3943027d11cf318cf4354fa.tar.bz2
Document -command macOS-specific option of tk_chooseDirectory, tk_getOpenFile and tk_GetSaveFile
Diffstat (limited to 'doc/chooseDirectory.n')
-rw-r--r--doc/chooseDirectory.n7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/chooseDirectory.n b/doc/chooseDirectory.n
index adc8728..e441d78 100644
--- a/doc/chooseDirectory.n
+++ b/doc/chooseDirectory.n
@@ -17,6 +17,13 @@ The procedure \fBtk_chooseDirectory\fR pops up a dialog box for the
user to select a directory. The following \fIoption\-value\fR pairs are
possible as command line arguments:
.TP
+\fB\-command\fR \fIstring\fR
+Specifies the prefix of a Tcl command to invoke when the user closes the
+dialog after having selected an item. This callback is not called if the
+user cancelled the dialog. The actual command consists of \fIstring\fR
+followed by a space and the value selected by the user in the dialog. This
+is only available on Mac OS X.
+.TP
\fB\-initialdir\fR \fIdirname\fR
Specifies that the directories in \fIdirectory\fR should be displayed
when the dialog pops up. If this parameter is not specified,