1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1996, Expert Interface Technologies
|
3 |
|
|
'\"
|
4 |
|
|
'\" See the file "license.terms" for information on usage and redistribution
|
5 |
|
|
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
|
6 |
|
|
'\"
|
7 |
|
|
'\" The file man.macros and some of the macros used by this file are
|
8 |
|
|
'\" copyrighted: (c) 1990 The Regents of the University of California.
|
9 |
|
|
'\" (c) 1994-1995 Sun Microsystems, Inc.
|
10 |
|
|
'\" The license terms of the Tcl/Tk distrobution are in the file
|
11 |
|
|
'\" license.tcl.
|
12 |
|
|
.so man.macros
|
13 |
|
|
'----------------------------------------------------------------------
|
14 |
|
|
.HS tixFileSelectDialog tix 4.0
|
15 |
|
|
.BS
|
16 |
|
|
'
|
17 |
|
|
'
|
18 |
|
|
'----------------------------------------------------------------------
|
19 |
|
|
.SH NAME
|
20 |
|
|
tixFileSelectDialog \- Create and manipulate tixFileSelectDialog widgets
|
21 |
|
|
'
|
22 |
|
|
'
|
23 |
|
|
'
|
24 |
|
|
'----------------------------------------------------------------------
|
25 |
|
|
.SH SYNOPSIS
|
26 |
|
|
\fBtixFileSelectDialog\fI \fIpathName ?\fIoptions\fR?
|
27 |
|
|
'
|
28 |
|
|
'
|
29 |
|
|
'----------------------------------------------------------------------
|
30 |
|
|
.PP
|
31 |
|
|
.SH SUPER-CLASS
|
32 |
|
|
The \fBTixFileSelectDialog\fR class does not have a super-class.
|
33 |
|
|
'
|
34 |
|
|
'----------------------------------------------------------------------
|
35 |
|
|
.SH "STANDARD OPTIONS"
|
36 |
|
|
'
|
37 |
|
|
\fBTixFileSelectDialog\fR supports all the standard options of a frame
|
38 |
|
|
widget. See the \fBoptions(n)\fR manual entry for details on the
|
39 |
|
|
standard options.
|
40 |
|
|
'
|
41 |
|
|
'----------------------------------------------------------------------
|
42 |
|
|
.SH "WIDGET-SPECIFIC OPTIONS"
|
43 |
|
|
'
|
44 |
|
|
'----------BEGIN
|
45 |
|
|
.LP
|
46 |
|
|
.nf
|
47 |
|
|
Name: \fBcommand\fR
|
48 |
|
|
Class: \fBCommand\fR
|
49 |
|
|
Switch: \fB\-command\fR
|
50 |
|
|
.fi
|
51 |
|
|
.IP
|
52 |
|
|
Specifies the command to be called when the user chooses on a filename
|
53 |
|
|
(usually by selecting the filename and clicking on the "OK" button").
|
54 |
|
|
The command is called with one argument, the complete pathname of the
|
55 |
|
|
file.
|
56 |
|
|
'----------END
|
57 |
|
|
'
|
58 |
|
|
'----------------------------------------------------------------------
|
59 |
|
|
.SH SUBWIDGETS
|
60 |
|
|
'----------BEGIN
|
61 |
|
|
.LP
|
62 |
|
|
.nf
|
63 |
|
|
Name: \fBbtns\fR
|
64 |
|
|
Class: \fBTixStdButtonBox\fR
|
65 |
|
|
.fi
|
66 |
|
|
.IP
|
67 |
|
|
The StdButtonBox subwidget at the bottom of FileSelectDialog. It
|
68 |
|
|
contains the "OK", "Filter, "Cancel" and "Help" buttons.
|
69 |
|
|
'----------END
|
70 |
|
|
'
|
71 |
|
|
'----------BEGIN
|
72 |
|
|
.LP
|
73 |
|
|
.nf
|
74 |
|
|
Name: \fBfsbox\fR
|
75 |
|
|
Class: \fBTixFileSelectBox\fR
|
76 |
|
|
.fi
|
77 |
|
|
.IP
|
78 |
|
|
The FileSelectBox subwidget at the top of the FileSelectDialog.
|
79 |
|
|
'----------END
|
80 |
|
|
.BE
|
81 |
|
|
'
|
82 |
|
|
'
|
83 |
|
|
'----------------------------------------------------------------------
|
84 |
|
|
.SH DESCRIPTION
|
85 |
|
|
'
|
86 |
|
|
.PP
|
87 |
|
|
'
|
88 |
|
|
The \fBtixFileSelectDialog\fR command creates a new window (given by
|
89 |
|
|
the \fIpathName\fR argument) and makes it into a FileSelectDialog
|
90 |
|
|
widget. Additional options, described above, may be specified on the
|
91 |
|
|
command line or in the option database to configure aspects of the
|
92 |
|
|
FileSelectDialog such as its cursor and relief.
|
93 |
|
|
.PP
|
94 |
|
|
The FileSelectDialog widget provides an convenient method for the user
|
95 |
|
|
to select files. The FileSelectBox is similar to the standard
|
96 |
|
|
Motif(TM) file-selection box.
|
97 |
|
|
'
|
98 |
|
|
'
|
99 |
|
|
'----------------------------------------------------------------------
|
100 |
|
|
.SH WIDGET COMMANDS
|
101 |
|
|
.PP
|
102 |
|
|
'
|
103 |
|
|
The \fBtixFileSelectDialog\fR command creates a new Tcl command whose
|
104 |
|
|
name is the same as the path name of the FileSelectDialog's
|
105 |
|
|
window. This command may be used to invoke various operations on the
|
106 |
|
|
widget. It has the following general form:
|
107 |
|
|
'
|
108 |
|
|
.DS C
|
109 |
|
|
'
|
110 |
|
|
\fIpathName option \fR?\fIarg arg ...\fR?
|
111 |
|
|
.PP
|
112 |
|
|
.DE
|
113 |
|
|
'
|
114 |
|
|
\fIPathName\fR is the name of the command, which is the same as the
|
115 |
|
|
FileSelectDialog widget's path name. \fIOption\fR and the
|
116 |
|
|
\fIarg\fRs determine the exact behavior of the command. The following
|
117 |
|
|
commands are possible for FileSelectDialog widgets:
|
118 |
|
|
'
|
119 |
|
|
.TP
|
120 |
|
|
\fIpathName \fBcget\fR \fIoption\fR
|
121 |
|
|
'
|
122 |
|
|
Returns the current value of the configuration option given by
|
123 |
|
|
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
|
124 |
|
|
\fBtixFileSelectDialog\fR command.
|
125 |
|
|
'
|
126 |
|
|
'
|
127 |
|
|
.TP
|
128 |
|
|
'
|
129 |
|
|
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
|
130 |
|
|
'
|
131 |
|
|
Query or modify the configuration options of the widget. If no
|
132 |
|
|
\fIoption\fR is specified, returns a list describing all of the
|
133 |
|
|
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
134 |
|
|
information on the format of this list). If \fIoption\fR is specified
|
135 |
|
|
with no \fIvalue\fR, then the command returns a list describing the
|
136 |
|
|
one named option (this list will be identical to the corresponding
|
137 |
|
|
sublist of the value returned if no \fIoption\fR is specified). If
|
138 |
|
|
one or more \fIoption\-value\fR pairs are specified, then the command
|
139 |
|
|
modifies the given widget option(s) to have the given value(s); in
|
140 |
|
|
this case the command returns an empty string. \fIOption\fR may have
|
141 |
|
|
any of the values accepted by the \fBtixFileSelectDialog\fR command.
|
142 |
|
|
'
|
143 |
|
|
'
|
144 |
|
|
.TP
|
145 |
|
|
\fIpathName \fBpopdown\fR
|
146 |
|
|
'
|
147 |
|
|
Withdraws the FileSelectDialog from the screen.
|
148 |
|
|
'
|
149 |
|
|
.TP
|
150 |
|
|
\fIpathName \fBpopup\fR
|
151 |
|
|
'
|
152 |
|
|
Pops up the FileSelectDialog on the screen.
|
153 |
|
|
'
|
154 |
|
|
'
|
155 |
|
|
.TP
|
156 |
|
|
\fIpathName \fBsubwidget \fIname ?args?\fR
|
157 |
|
|
'
|
158 |
|
|
When no options are given, this command returns the pathname of the
|
159 |
|
|
subwidget of the specified name.
|
160 |
|
|
|
161 |
|
|
When options are given, the widget command of the specified subwidget
|
162 |
|
|
will be called with these options.
|
163 |
|
|
'
|
164 |
|
|
'
|
165 |
|
|
'
|
166 |
|
|
'----------------------------------------------------------------------
|
167 |
|
|
'.SH BINDINGS
|
168 |
|
|
'.PP
|
169 |
|
|
'
|
170 |
|
|
'
|
171 |
|
|
'
|
172 |
|
|
'----------------------------------------------------------------------
|
173 |
|
|
.SH KEYWORDS
|
174 |
|
|
Tix(n)
|