diff options
author | fvogel <fvogelnew1@free.fr> | 2018-05-13 17:41:04 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2018-05-13 17:41:04 (GMT) |
commit | 271cd56eb5cb8de37e5ee3664310cdd00312e803 (patch) | |
tree | 299ce77fcf350c5e0f1008dcbf413b768d26d112 /doc | |
parent | 0ff4986222c00558ab7b134cbda592e01cca5ff0 (diff) | |
parent | 3ea798378d071bcd179217432c8fe760976f8445 (diff) | |
download | tk-271cd56eb5cb8de37e5ee3664310cdd00312e803.zip tk-271cd56eb5cb8de37e5ee3664310cdd00312e803.tar.gz tk-271cd56eb5cb8de37e5ee3664310cdd00312e803.tar.bz2 |
Fix [66db98f30d]: choosedir, filebox, msgbox tests fails on macOS + undocumented options -message and -command
Diffstat (limited to 'doc')
-rw-r--r-- | doc/chooseDirectory.n | 11 | ||||
-rw-r--r-- | doc/getOpenFile.n | 7 | ||||
-rw-r--r-- | doc/messageBox.n | 6 |
3 files changed, 24 insertions, 0 deletions
diff --git a/doc/chooseDirectory.n b/doc/chooseDirectory.n index 8528ddb..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, @@ -27,6 +34,10 @@ user-selected directory for the application. If the parameter specifies a relative path, the return value will convert the relative path to an absolute path. .TP +\fB\-message\fR \fIstring\fR +Specifies a message to include in the client area of the dialog. +This is only available on Mac OS X. +.TP \fB\-mustexist\fR \fIboolean\fR Specifies whether the user may specify non-existent directories. If this parameter is true, then the user may only select directories that diff --git a/doc/getOpenFile.n b/doc/getOpenFile.n index 39bce41..d2323de 100644 --- a/doc/getOpenFile.n +++ b/doc/getOpenFile.n @@ -35,6 +35,13 @@ whether the existing file should be overwritten or not. The following \fIoption\-value\fR pairs are possible as command line arguments to these two commands: .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\-confirmoverwrite\fR \fIboolean\fR Configures how the Save dialog reacts when the selected file already exists, and saving would overwrite it. A true value requests a diff --git a/doc/messageBox.n b/doc/messageBox.n index 5ce1745..6bcbc09 100644 --- a/doc/messageBox.n +++ b/doc/messageBox.n @@ -24,6 +24,12 @@ buttons. Then it returns the symbolic name of the selected button. .PP The following option-value pairs are supported: .TP +\fB\-command\fR \fIstring\fR +Specifies the prefix of a Tcl command to invoke when the user closes the +dialog. The actual command consists of \fIstring\fR followed by a space +and the name of the button clicked by the user to close the dialog. This +is only available on Mac OS X. +.TP \fB\-default\fR \fIname\fR . \fIName\fR gives the symbolic name of the default button for |