1 |
578 |
markom |
<HTML>
|
2 |
|
|
<HEAD>
|
3 |
|
|
<TITLE>iwidgets2.2.0 User Commands - fileselectiondialog</TITLE>
|
4 |
|
|
</HEAD>
|
5 |
|
|
<BODY BGCOLOR="#FFFFFF">
|
6 |
|
|
<H1>iwidgets2.2.0 User Commands - fileselectiondialog</H1>
|
7 |
|
|
<HR>
|
8 |
|
|
<PRE>
|
9 |
|
|
|
10 |
|
|
</PRE>
|
11 |
|
|
<H2><HR ALIGN=LEFT WIDTH=70% SIZE=3></H2><PRE>
|
12 |
|
|
|
13 |
|
|
|
14 |
|
|
</PRE>
|
15 |
|
|
<H2>NAME</H2><PRE>
|
16 |
|
|
fileselectiondialog - Create and manipulate a file selection
|
17 |
|
|
dialog widget
|
18 |
|
|
|
19 |
|
|
|
20 |
|
|
</PRE>
|
21 |
|
|
<H2>SYNOPSIS</H2><PRE>
|
22 |
|
|
<STRONG>fileselectiondialog</STRONG> <EM>pathName</EM> ?<EM>options</EM>?
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
</PRE>
|
26 |
|
|
<H2>INHERITANCE</H2><PRE>
|
27 |
|
|
itk::Toplevel <- Shell <- Dialogshell <- Dialog <-
|
28 |
|
|
Fileselectiondialog
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
</PRE>
|
32 |
|
|
<H2>STANDARD OPTIONS</H2><PRE>
|
33 |
|
|
<STRONG>activeBackground</STRONG> <STRONG>background</STRONG> <STRONG>borderWidthcursor</STRONG>
|
34 |
|
|
<STRONG>foreground</STRONG> <STRONG>highlightColor</STRONG> <STRONG>highlightThicknessinsertBackground</STRONG>
|
35 |
|
|
<STRONG>insertBorderWidth</STRONG> <STRONG>insertOffTime</STRONG> <STRONG>insertOnTimeinsertWidth</STRONG>
|
36 |
|
|
<STRONG>relief</STRONG> <STRONG>repeatDelay</STRONG> <STRONG>repeatInterval</STRONG> <STRONG>selectBackground</STRONG>
|
37 |
|
|
<STRONG>selectBorderWidth</STRONG> <STRONG>selectForeground</STRONG>
|
38 |
|
|
|
39 |
|
|
See the "options" manual entry for details on the standard
|
40 |
|
|
options.
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
</PRE>
|
44 |
|
|
<H2>ASSOCIATED OPTIONS</H2><PRE>
|
45 |
|
|
<STRONG>textBackground</STRONG> <STRONG>textFont</STRONG>
|
46 |
|
|
|
47 |
|
|
See the "entryfield" widget manual entry for details on the
|
48 |
|
|
above associated options.
|
49 |
|
|
|
50 |
|
|
<STRONG>childSitePos</STRONG> <STRONG>directory</STRONG> <STRONG>dirsLabel</STRONG> <STRONG>dirSearchCommand</STRONG>
|
51 |
|
|
<STRONG>dirsFraction</STRONG> <STRONG>dirsLabelPos</STRONG> <STRONG>dirsOn</STRONG> <STRONG>filesLabel</STRONG>
|
52 |
|
|
<STRONG>filesLabelOn</STRONG> <STRONG>fileSearchCommand</STRONG> <STRONG>filesLabelPosfilesOn</STRONG>
|
53 |
|
|
<STRONG>fileType</STRONG> <STRONG>filterLabel</STRONG> <STRONG>filterLabelPos</STRONG> <STRONG>filterOn</STRONG>
|
54 |
|
|
<STRONG>invalid</STRONG> <STRONG>mask</STRONG> <STRONG>noMatchString</STRONG> <STRONG>selectionCommand</STRONG>
|
55 |
|
|
<STRONG>selectionLabel</STRONG> <STRONG>selectionLabelPos</STRONG> <STRONG>selectionOnstyle</STRONG>
|
56 |
|
|
<STRONG>vertMargin</STRONG>
|
57 |
|
|
|
58 |
|
|
See the "fileselectionbox" widget manual entry for details
|
59 |
|
|
on the above associated options.
|
60 |
|
|
|
61 |
|
|
<STRONG>labelFont</STRONG> <STRONG>labelMargin</STRONG>
|
62 |
|
|
|
63 |
|
|
See the "labeledwidget" widget manual entry for details on
|
64 |
|
|
the above associated options.
|
65 |
|
|
|
66 |
|
|
<STRONG>horizMargin</STRONG> <STRONG>hscrollMode</STRONG> <STRONG>sbWidth</STRONG> <STRONG>scrollMargin</STRONG>
|
67 |
|
|
<STRONG>textBackground</STRONG> <STRONG>textFont</STRONG> <STRONG>vScrollMode</STRONG>
|
68 |
|
|
|
69 |
|
|
See the "scrolledlistbox" widget manual entry for details on
|
70 |
|
|
the above associated options.
|
71 |
|
|
|
72 |
|
|
|
73 |
|
|
<STRONG>activeRelief</STRONG> <STRONG>elementBorderWidth</STRONG> <STRONG>jumptroughColor</STRONG>
|
74 |
|
|
|
75 |
|
|
See the "scrollbar" widget class manual entry for details on
|
76 |
|
|
the above associated options.
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
</PRE>
|
81 |
|
|
<H2>INHERITED OPTIONS</H2><PRE>
|
82 |
|
|
<STRONG>buttonBoxPadX</STRONG> <STRONG>buttonBoxPadY</STRONG> <STRONG>buttonBoxPos</STRONG> <STRONG>padX</STRONG>
|
83 |
|
|
<STRONG>padY</STRONG> <STRONG>separator</STRONG> <STRONG>thickness</STRONG>
|
84 |
|
|
|
85 |
|
|
See the "dialogshell" widget manual entry for details on the
|
86 |
|
|
above inherited options.
|
87 |
|
|
|
88 |
|
|
<STRONG>master</STRONG> <STRONG>modality</STRONG> <STRONG>title</STRONG>
|
89 |
|
|
|
90 |
|
|
See the "shell" widget manual entry for details on the above
|
91 |
|
|
inherited options.
|
92 |
|
|
|
93 |
|
|
|
94 |
|
|
</PRE>
|
95 |
|
|
<H2>WIDGET-SPECIFIC OPTIONS</H2><PRE>
|
96 |
|
|
Name: <STRONG>height</STRONG>
|
97 |
|
|
Class: <STRONG>Height</STRONG>
|
98 |
|
|
Command-Line Switch: <STRONG>-height</STRONG>
|
99 |
|
|
|
100 |
|
|
Specifies the height of the file selection dialog. The
|
101 |
|
|
value may be specified in any of the forms acceptable
|
102 |
|
|
to Tk_GetPixels. The default is 435 pixels.
|
103 |
|
|
|
104 |
|
|
Name: <STRONG>width</STRONG>
|
105 |
|
|
Class: <STRONG>Width</STRONG>
|
106 |
|
|
Command-Line Switch: <STRONG>-width</STRONG>
|
107 |
|
|
|
108 |
|
|
Specifies the width of the file selection dialog. The
|
109 |
|
|
value may be specified in any of the forms acceptable
|
110 |
|
|
to Tk_GetPixels. The default is 450 pixels.
|
111 |
|
|
|
112 |
|
|
|
113 |
|
|
</PRE>
|
114 |
|
|
<H2><HR ALIGN=LEFT WIDTH=70% SIZE=3></H2><PRE>
|
115 |
|
|
|
116 |
|
|
|
117 |
|
|
|
118 |
|
|
</PRE>
|
119 |
|
|
<H2>DESCRIPTION</H2><PRE>
|
120 |
|
|
The <STRONG>fileselectiondialog</STRONG> command creates a file selection
|
121 |
|
|
dialog similar to the OSF/Motif standard composite widget.
|
122 |
|
|
The fileselectiondialog is derived from the Dialog class and
|
123 |
|
|
is composed of a FileSelectionBox with attributes set to
|
124 |
|
|
manipulate the dialog buttons.
|
125 |
|
|
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
</PRE>
|
129 |
|
|
<H2>METHODS</H2><PRE>
|
130 |
|
|
The <STRONG>fileselectiondialog</STRONG> command creates a new Tcl command
|
131 |
|
|
whose name is <EM>pathName</EM>. This command may be used to invoke
|
132 |
|
|
various operations on the widget. It has the following gen-
|
133 |
|
|
eral form:
|
134 |
|
|
|
135 |
|
|
<EM>pathName</EM> <EM>option</EM> ?<EM>arg</EM> <EM>arg</EM> ...?
|
136 |
|
|
|
137 |
|
|
<EM>Option</EM> and the <EM>arg</EM>s determine the exact behavior of the com-
|
138 |
|
|
mand. The following commands are possible for fileselec-
|
139 |
|
|
tiondialog widgets:
|
140 |
|
|
|
141 |
|
|
|
142 |
|
|
</PRE>
|
143 |
|
|
<H2>ASSOCIATED METHODS</H2><PRE>
|
144 |
|
|
<STRONG>get</STRONG> <STRONG>childsite</STRONG> <STRONG>filter</STRONG>
|
145 |
|
|
|
146 |
|
|
See the "fileselectionbox" class manual entry for details on
|
147 |
|
|
the associated methods.
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
</PRE>
|
151 |
|
|
<H2>INHERITED METHODS</H2><PRE>
|
152 |
|
|
<STRONG>add</STRONG> <STRONG>buttonconfigure</STRONG> <STRONG>defaulthide</STRONG>
|
153 |
|
|
<STRONG>insert</STRONG> <STRONG>invoke</STRONG> <STRONG>show</STRONG>
|
154 |
|
|
|
155 |
|
|
See the "buttonbox" widget manual entry for details on the
|
156 |
|
|
above inherited methods.
|
157 |
|
|
|
158 |
|
|
<STRONG>activate</STRONG> <STRONG>center</STRONG> <STRONG>deactivate</STRONG>
|
159 |
|
|
|
160 |
|
|
See the "shell" widget manual entry for details on the above
|
161 |
|
|
inherited methods.
|
162 |
|
|
|
163 |
|
|
|
164 |
|
|
|
165 |
|
|
</PRE>
|
166 |
|
|
<H2>WIDGET-SPECIFIC METHODS</H2><PRE>
|
167 |
|
|
<EM>pathName</EM> <STRONG>cget</STRONG> <EM>option</EM>
|
168 |
|
|
Returns the current value of the configuration option
|
169 |
|
|
given by <EM>option</EM>. <EM>Option</EM> may have any of the values
|
170 |
|
|
accepted by the <STRONG>fileselectiondialog</STRONG> command.
|
171 |
|
|
|
172 |
|
|
<EM>pathName</EM> <STRONG>configure</STRONG> ?<EM>option</EM>? ?<EM>value</EM> <EM>option</EM> <EM>value</EM> ...?
|
173 |
|
|
Query or modify the configuration options of the
|
174 |
|
|
widget. If no <EM>option</EM> is specified, returns a list
|
175 |
|
|
describing all of the available options for <EM>pathName</EM>
|
176 |
|
|
(see <STRONG>Tk_ConfigureInfo</STRONG> for information on the format of
|
177 |
|
|
this list). If <EM>option</EM> is specified with no <EM>value</EM>, then
|
178 |
|
|
the command returns a list describing the one named
|
179 |
|
|
option (this list will be identical to the correspond-
|
180 |
|
|
ing sublist of the value returned if no <EM>option</EM> is
|
181 |
|
|
specified). If one or more <EM>option</EM> - <EM>value</EM> pairs are
|
182 |
|
|
specified, then the command modifies the given widget
|
183 |
|
|
option(s) to have the given value(s); in this case the
|
184 |
|
|
command returns an empty string. <EM>Option</EM> may have any
|
185 |
|
|
of the values accepted by the <STRONG>fileselectiondialog</STRONG> com-
|
186 |
|
|
mand.
|
187 |
|
|
|
188 |
|
|
|
189 |
|
|
|
190 |
|
|
</PRE>
|
191 |
|
|
<H2>COMPONENTS</H2><PRE>
|
192 |
|
|
Name: <STRONG>fsb</STRONG>
|
193 |
|
|
Class: <STRONG>Fileselectionbox</STRONG>
|
194 |
|
|
|
195 |
|
|
The fsb component is the file selection box for the
|
196 |
|
|
file selection dialog. See the "fileselectionbox"
|
197 |
|
|
widget manual entry for details on the fsb component
|
198 |
|
|
item.
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
|
202 |
|
|
</PRE>
|
203 |
|
|
<H2>EXAMPLE</H2><PRE>
|
204 |
|
|
option add *textBackground white
|
205 |
|
|
|
206 |
|
|
fileselectiondialog .fsd
|
207 |
|
|
.fsd activate
|
208 |
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
</PRE>
|
212 |
|
|
<H2>AUTHOR</H2><PRE>
|
213 |
|
|
Mark L. Ulferts
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
</PRE>
|
217 |
|
|
<H2>KEYWORDS</H2><PRE>
|
218 |
|
|
fileselectiondialog, fileselectionbox, dialog, dialogshell,
|
219 |
|
|
shell, widget
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
|
|
|
224 |
|
|
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
|
229 |
|
|
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
|
234 |
|
|
|
235 |
|
|
|
236 |
|
|
|
237 |
|
|
|
238 |
|
|
|
239 |
|
|
|
240 |
|
|
|
241 |
|
|
|
242 |
|
|
|
243 |
|
|
|
244 |
|
|
|
245 |
|
|
|
246 |
|
|
|
247 |
|
|
|
248 |
|
|
|
249 |
|
|
|
250 |
|
|
|
251 |
|
|
|
252 |
|
|
|
253 |
|
|
</PRE>
|
254 |
|
|
</BODY>
|
255 |
|
|
</HTML>
|