OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [itcl/] [iwidgets3.0.0/] [doc/] [extfileselectiondialog.n] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
'\"
2
'\" Copyright (c) 1997 DSC Technologies Corporation
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
'\" @(#) extfileselectiondialog.n 1.21 94/12/17 16:04:44
8
'\"
9
.so man.macros
10
.HS extfileselectiondialog iwid
11
.BS
12
'\" Note:  do not modify the .SH NAME line immediately below!
13
.SH NAME
14
extfileselectiondialog \- Create and manipulate a file selection dialog widget
15
.SH SYNOPSIS
16
\fBextfileselectiondialog\fI \fIpathName \fR?\fIoptions\fR?
17
.SH "INHERITANCE"
18
itk::Toplevel <- Shell <- Dialogshell <- Dialog <- Extfileselectiondialog
19
.SH "STANDARD OPTIONS"
20
.LP
21
.nf
22
.ta 4c 8c 12c
23
\fBactiveBackground\fR  \fBbackground\fR        \fBborderWidth\fR       \fBcursor\fR
24
\fBforeground\fR        \fBhighlightColor\fR    \fBhighlightThickness\fR        \fBinsertBackground\fR
25
\fBinsertBorderWidth\fR \fBinsertOffTime\fR     \fBinsertOnTime\fR      \fBinsertWidth\fR
26
\fBselectBackground\fR  \fBselectBorderWidth\fR \fBselectForeground\fR
27
.fi
28
.LP
29
See the "options" manual entry for details on the standard options.
30
.SH "ASSOCIATED OPTIONS"
31
.LP
32
.nf
33
.ta 4c 8c 12c
34
\fBpopupCursor\fR       \fBtextBackground\fR    \fBtextFont\fR
35
.fi
36
.LP
37
See the "combobox" widget manual entry for details on the above
38
associated options.
39
.LP
40
.nf
41
.ta 4c 8c 12c
42
\fBchildSitePos\fR      \fBdirectory\fR \fBdirsLabel\fR \fBdirSearchCommand\fR
43
\fBdirsOn\fR    \fBfilesLabel\fR        \fBfilesLabelOn\fR      \fBfileSearchCommand\fR
44
\fBfilesOn\fR   \fBfileType\fR  \fBfilterLabel\fR       \fBfilterOn\fR
45
\fBinvalid\fR   \fBmask\fR      \fBnoMatchString\fR     \fBselectionLabel\fR
46
\fBselectionOn\fR
47
.fi
48
.LP
49
See the "extfileselectionbox" widget manual entry for details on the above
50
associated options.
51
.LP
52
.nf
53
.ta 4c 8c 12c
54
\fBlabelFont\fR
55
.fi
56
.LP
57
See the "labeledwidget" widget manual entry for details on the above
58
associated options.
59
.LP
60
.nf
61
.ta 4c 8c 12c
62
\fBsashCursor\fR
63
.fi
64
.LP
65
See the "panedwindow" widget manual entry for details on the above
66
associated options.
67
.LP
68
.nf
69
.ta 4c 8c 12c
70
\fBlabelFont\fR
71
.fi
72
.LP
73
See the "labeledwidget" widget manual entry for details on the above
74
associated options.
75
.LP
76
.nf
77
.ta 4c 8c 12c
78
\fBactiveRelief\fR      \fBelementBorderWidth\fR        \fBjump\fR      \fBtroughColor\fR
79
.fi
80
.LP
81
See the "scrollbar" widget class manual entry for details on the above
82
associated options.
83
.LP
84
.nf
85
.ta 4c 8c 12c
86
\fBtextBackground\fR    \fBtextFont\fR
87
.fi
88
.LP
89
See the "scrolledlistbox" widget manual entry for details on the above
90
associated options.
91
 
92
.SH "INHERITED OPTIONS"
93
.LP
94
.nf
95
.ta 4c 8c 12c
96
\fBbuttonBoxPadX\fR     \fBbuttonBoxPadY\fR     \fBbuttonBoxPos\fR      \fBpadX\fR
97
\fBpadY\fR      \fBseparator\fR \fBthickness\fR
98
.fi
99
.LP
100
See the "dialogshell" widget manual entry for details on the above
101
inherited options.
102
.LP
103
.nf
104
.ta 4c 8c 12c
105
\fBheight\fR    \fBmaster\fR    \fBmodality\fR  \fBwidth\fR
106
.fi
107
.LP
108
See the "shell" widget manual entry for details on the above
109
inherited options.
110
.LP
111
.nf
112
.ta 4c 8c 12c
113
\fBtitle\fR
114
.fi
115
.LP
116
See the "Toplevel" widget  manual entry for details on the above
117
inherited options.
118
.BE
119
 
120
.SH DESCRIPTION
121
.PP
122
The \fBextfileselectiondialog\fR command creates an extended file
123
selection dialog which is slightly different than the
124
fileselectiondialog widget.
125
The differences are mostly cosmetic in that the listboxes are
126
within a panedwindow and the entryfields for the filter and selection
127
have been replaced by comboboxes.  Other than that the interface is
128
practically the same.
129
 
130
.SH "METHODS"
131
.PP
132
The \fBextfileselectiondialog\fR command creates a new Tcl command whose
133
name is \fIpathName\fR.  This
134
command may be used to invoke various
135
operations on the widget.  It has the following general form:
136
.DS C
137
\fIpathName option \fR?\fIarg arg ...\fR?
138
.DE
139
\fIOption\fR and the \fIarg\fRs
140
determine the exact behavior of the command.  The following
141
commands are possible for extfileselectiondialog widgets:
142
.SH "ASSOCIATED METHODS"
143
.LP
144
.nf
145
.ta 4c 8c 12c
146
\fBget\fR       \fBchildsite\fR \fBfilter\fR
147
.fi
148
.LP
149
See the "fileselectionbox" class manual entry for details on the
150
associated methods.
151
.SH "INHERITED METHODS"
152
.LP
153
.nf
154
.ta 4c 8c 12c
155
\fBadd\fR       \fBbuttonconfigure\fR   \fBdefault\fR   \fBhide\fR
156
\fBinsert\fR    \fBinvoke\fR    \fBshow\fR
157
.fi
158
.LP
159
See the "buttonbox" widget manual entry for details on the above
160
inherited methods.
161
.LP
162
.nf
163
.ta 4c 8c 12c
164
\fBactivate\fR  \fBcenter\fR    \fBdeactivate\fR
165
.fi
166
.LP
167
See the "shell" widget manual entry for details on the above
168
inherited methods.
169
 
170
.SH "WIDGET-SPECIFIC METHODS"
171
.TP
172
\fIpathName \fBcget\fR \fIoption\fR
173
Returns the current value of the configuration option given
174
by \fIoption\fR.
175
\fIOption\fR may have any of the values accepted by
176
the \fBextfileselectiondialog\fR command.
177
.TP
178
\fIpathName\fR \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
179
Query or modify the configuration options of the widget.
180
If no \fIoption\fR is specified, returns a list describing all of
181
the available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
182
information on the format of this list).  If \fIoption\fR is specified
183
with no \fIvalue\fR, then the command returns a list describing the
184
one named option (this list will be identical to the corresponding
185
sublist of the value returned if no \fIoption\fR is specified).  If
186
one or more \fIoption\-value\fR pairs are specified, then the command
187
modifies the given widget option(s) to have the given value(s);  in
188
this case the command returns an empty string.
189
\fIOption\fR may have any of the values accepted by
190
the \fBextfileselectiondialog\fR
191
command.
192
 
193
.SH "COMPONENTS"
194
.LP
195
.nf
196
Name:   \fBfsb\fR
197
Class:  \fBFileselectionbox\fR
198
.fi
199
.IP
200
The fsb component is the extfileselectionbox for the extfileselectiondialog.
201
See the "extfileselectionbox" widget manual entry for details on the fsb
202
component item.
203
.fi
204
 
205
.SH EXAMPLE
206
.DS
207
 #
208
 # Non-modal example
209
 #
210
 proc okCallback {} {
211
     puts "You selected [.nmfsd get]"
212
     .nmfsd deactivate
213
 }
214
 
215
 extfileselectiondialog .nmfsd -title Non-Modal
216
 .nmfsd buttonconfigure OK -command okCallback
217
 
218
 .nmfsd activate
219
 
220
 #
221
 # Modal example
222
 #
223
 extfileselectiondialog .mfsd -modality application
224
 .mfsd center
225
 
226
 if {[.mfsd activate]} {
227
     puts "You selected [.mfsd get]"
228
 } else {
229
     puts "You cancelled the dialog"
230
 }
231
.DE
232
.SH AUTHOR
233
Mark L. Ulferts
234
.DE
235
Anthony L. Parent
236
.SH KEYWORDS
237
extfileselectiondialog, extfileselectionbox, dialog, dialogshell, shell, widget

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.