summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-10-26 20:25:05 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-10-26 20:25:05 (GMT)
commitd1c6cd2849f86a9aa098925e4de822b4f9dc6637 (patch)
treeec8c8ac3cb49335930b6df50a8122fc4d5f3daaa
parentc19dbf2054468ec3004041fef41a4b01a465eb54 (diff)
downloadtk-d1c6cd2849f86a9aa098925e4de822b4f9dc6637.zip
tk-d1c6cd2849f86a9aa098925e4de822b4f9dc6637.tar.gz
tk-d1c6cd2849f86a9aa098925e4de822b4f9dc6637.tar.bz2
restore babycore_8_5_b2
-rw-r--r--doc/getOpenFile.n12
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/getOpenFile.n b/doc/getOpenFile.n
index 5475c89..5bcf57b 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.18 2007/10/26 20:13:23 dgp Exp $
+'\" RCS: @(#) $Id: getOpenFile.n,v 1.19 2007/10/26 20:25:05 dgp Exp $
'\"
.so man.macros
.TH tk_getOpenFile n 4.2 Tk "Tk Built-In Commands"
@@ -87,6 +87,16 @@ dialog is displayed on top of its parent window.
\fB\-title\fR \fItitleString\fR
Specifies a string to display as the title of the dialog box. If this
option is not specified, then a default title is displayed.
+.TP
+\fB\-typevariable\fR \fIvariableName\fR
+The variable \fIvariableName\fR is used to preselect which filter is
+used from \fIfilterList\fR when the dialog box is opened and is
+updated when the dialog box is closed, to the last selected
+filter. The variable is read once at the beginning to select the
+appropriate filter. If the variable does not exist, or it's value does
+not match any filter typename, or is empty (\fB{}\fR), the dialog box
+will revert to the default behavior of selecting the first filter in
+the list. If the dialog is canceled, the variable is not modified.
.PP
If the user selects a file, both \fBtk_getOpenFile\fR and
\fBtk_getSaveFile\fR return the full pathname of this file. If the