1 |
578 |
markom |
'\"
|
2 |
|
|
'\" Copyright (c) 1995 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 |
|
|
'\" @(#) selectiondialog.n 1.21 94/12/17 16:04:44
|
8 |
|
|
'/"
|
9 |
|
|
.so man.macros
|
10 |
|
|
.HS selectiondialog iwid
|
11 |
|
|
.BS
|
12 |
|
|
'\" Note: do not modify the .SH NAME line immediately below!
|
13 |
|
|
.SH NAME
|
14 |
|
|
selectiondialog \- Create and manipulate a selection dialog widget
|
15 |
|
|
.SH SYNOPSIS
|
16 |
|
|
\fBselectiondialog\fI \fIpathName \fR?\fIoptions\fR?
|
17 |
|
|
.SH "INHERITANCE"
|
18 |
|
|
itk::Toplevel <- Shell <- Dialogshell <- Dialog <- Selectiondialog
|
19 |
|
|
.SH "STANDARD OPTIONS"
|
20 |
|
|
.LP
|
21 |
|
|
.nf
|
22 |
|
|
.ta 4c 8c 12c
|
23 |
|
|
\fBactiveBackground\fR \fBbackground\fR \fBborderWidth\fR \fBcursor\fR
|
24 |
|
|
\fBexportSelection\fR \fBforeground\fR \fBhighlightColor\fR \fBhighlightThickness\fR
|
25 |
|
|
\fBinsertBackground\fR \fBinsertBorderWidth\fR \fBinsertOffTime\fR \fBinsertOnTime\fR
|
26 |
|
|
\fBinsertWidth\fR \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 |
|
|
\fBtextBackground\fR \fBtextFont\fR
|
35 |
|
|
.fi
|
36 |
|
|
.LP
|
37 |
|
|
See the "entryfield" widget manual entry for details on the above
|
38 |
|
|
associated options.
|
39 |
|
|
.LP
|
40 |
|
|
.nf
|
41 |
|
|
.ta 4c 8c 12c
|
42 |
|
|
\fBlabelFont\fR
|
43 |
|
|
.fi
|
44 |
|
|
.LP
|
45 |
|
|
See the "labeledwidget" widget manual entry for details on the above
|
46 |
|
|
associated options.
|
47 |
|
|
.LP
|
48 |
|
|
.nf
|
49 |
|
|
.ta 4c 8c 12c
|
50 |
|
|
\fBactiveRelief\fR \fBelementBorderWidth\fR \fBjump\fR \fBtroughColor\fR
|
51 |
|
|
.fi
|
52 |
|
|
.LP
|
53 |
|
|
See the "scrollbar" widget class manual entry for details on the above
|
54 |
|
|
associated options.
|
55 |
|
|
.LP
|
56 |
|
|
.nf
|
57 |
|
|
.ta 4c 8c 12c
|
58 |
|
|
\fBtextBackground\fR \fBtextFont\fR
|
59 |
|
|
.fi
|
60 |
|
|
.LP
|
61 |
|
|
See the "scrolledlistbox" widget class manual entry for details on the above
|
62 |
|
|
associated options.
|
63 |
|
|
\fBchildsitepos\fR \fBitemsCommand\fR \fBitemsLabel\fR \fBitemsOn\fR
|
64 |
|
|
\fBselectionCommand\fR \fBselectionLabel\fR \fBselectionOn\fR
|
65 |
|
|
.fi
|
66 |
|
|
.LP
|
67 |
|
|
See the "selectionbox" widget manual entry for details on the above
|
68 |
|
|
associated options.
|
69 |
|
|
.SH "INHERITED OPTIONS"
|
70 |
|
|
.LP
|
71 |
|
|
.nf
|
72 |
|
|
.ta 4c 8c 12c
|
73 |
|
|
\fBbuttonBoxPadX\fR \fBbuttonBoxPadY\fR \fBbuttonBoxPos\fR \fBpadX\fR
|
74 |
|
|
\fBpadY\fR \fBseparator\fR \fBthickness\fR
|
75 |
|
|
.fi
|
76 |
|
|
.LP
|
77 |
|
|
See the "dialogshell" widget manual entry for details on the above
|
78 |
|
|
inherited options.
|
79 |
|
|
.LP
|
80 |
|
|
.nf
|
81 |
|
|
.ta 4c 8c 12c
|
82 |
|
|
\fBheight\fR \fBmaster\fR \fBmodality\fR \fBwidth\fR
|
83 |
|
|
.fi
|
84 |
|
|
.LP
|
85 |
|
|
See the "shell" widget manual entry for details on the above
|
86 |
|
|
inherited options.
|
87 |
|
|
.LP
|
88 |
|
|
.nf
|
89 |
|
|
.ta 4c 8c 12c
|
90 |
|
|
\fBtitle\fR
|
91 |
|
|
.fi
|
92 |
|
|
.LP
|
93 |
|
|
See the "Toplevel" widget manual entry for details on the above
|
94 |
|
|
inherited options.
|
95 |
|
|
.BE
|
96 |
|
|
|
97 |
|
|
.SH DESCRIPTION
|
98 |
|
|
.PP
|
99 |
|
|
The \fBselectiondialog\fR command creates a selection box similar to
|
100 |
|
|
the OSF/Motif standard selection
|
101 |
|
|
dialog composite widget. The selectiondialog is derived from the
|
102 |
|
|
Dialog class and is composed of a selectionbox with commands
|
103 |
|
|
to manipulate the dialog buttons.
|
104 |
|
|
|
105 |
|
|
.SH "METHODS"
|
106 |
|
|
.PP
|
107 |
|
|
The \fBselectiondialog\fR command creates a new Tcl command whose
|
108 |
|
|
name is \fIpathName\fR. This
|
109 |
|
|
command may be used to invoke various
|
110 |
|
|
operations on the widget. It has the following general form:
|
111 |
|
|
.DS C
|
112 |
|
|
\fIpathName option \fR?\fIarg arg ...\fR?
|
113 |
|
|
.DE
|
114 |
|
|
\fIOption\fR and the \fIarg\fRs
|
115 |
|
|
determine the exact behavior of the command. The following
|
116 |
|
|
commands are possible for selectiondialog widgets:
|
117 |
|
|
.SH "ASSOCIATED METHODS"
|
118 |
|
|
.LP
|
119 |
|
|
.nf
|
120 |
|
|
.ta 4c 8c 12c
|
121 |
|
|
\fBchildsite\fR \fBclear\fR \fBget\fR \fBinsert\fR
|
122 |
|
|
\fBselectitem\fR
|
123 |
|
|
.fi
|
124 |
|
|
.LP
|
125 |
|
|
See the "selectionbox" widget manual entry for details on the above
|
126 |
|
|
associated methods.
|
127 |
|
|
.LP
|
128 |
|
|
.nf
|
129 |
|
|
.ta 4c 8c 12c
|
130 |
|
|
\fBcurselection\fR \fBdelete\fR \fBindex\fR \fBnearest\fR
|
131 |
|
|
\fBscan\fR \fBselection\fR \fBsize\fR
|
132 |
|
|
.fi
|
133 |
|
|
.LP
|
134 |
|
|
See the "listbox" widget manual entry for details on the above
|
135 |
|
|
associated methods.
|
136 |
|
|
.SH "INHERITED METHODS"
|
137 |
|
|
.LP
|
138 |
|
|
.nf
|
139 |
|
|
.ta 4c 8c 12c
|
140 |
|
|
\fBadd\fR \fBbuttonconfigure\fR \fBdefault\fR \fBhide\fR
|
141 |
|
|
\fBinvoke\fR \fBshow\fR
|
142 |
|
|
.fi
|
143 |
|
|
.LP
|
144 |
|
|
See the "buttonbox" widget manual entry for details on the above
|
145 |
|
|
inherited methods.
|
146 |
|
|
.LP
|
147 |
|
|
.nf
|
148 |
|
|
.ta 4c 8c 12c
|
149 |
|
|
\fBactivate\fR \fBcenter\fR \fBdeactivate\fR
|
150 |
|
|
.fi
|
151 |
|
|
.LP
|
152 |
|
|
See the "shell" widget manual entry for details on the above
|
153 |
|
|
inherited methods.
|
154 |
|
|
.SH "WIDGET-SPECIFIC METHODS"
|
155 |
|
|
.TP
|
156 |
|
|
\fIpathName \fBcget\fR \fIoption\fR
|
157 |
|
|
Returns the current value of the configuration option given
|
158 |
|
|
by \fIoption\fR.
|
159 |
|
|
\fIOption\fR may have any of the values accepted by the \fBselectiondialog\fR
|
160 |
|
|
command.
|
161 |
|
|
.TP
|
162 |
|
|
\fIpathName\fR \fBconfigure\fR ?\fIoption\fR? ?\fIvalue option value ...\fR?
|
163 |
|
|
Query or modify the configuration options of the widget.
|
164 |
|
|
If no \fIoption\fR is specified, returns a list describing all of
|
165 |
|
|
the available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
|
166 |
|
|
information on the format of this list). If \fIoption\fR is specified
|
167 |
|
|
with no \fIvalue\fR, then the command returns a list describing the
|
168 |
|
|
one named option (this list will be identical to the corresponding
|
169 |
|
|
sublist of the value returned if no \fIoption\fR is specified). If
|
170 |
|
|
one or more \fIoption\-value\fR pairs are specified, then the command
|
171 |
|
|
modifies the given widget option(s) to have the given value(s); in
|
172 |
|
|
this case the command returns an empty string.
|
173 |
|
|
\fIOption\fR may have any of the values accepted by the \fBselectiondialog\fR
|
174 |
|
|
command.
|
175 |
|
|
|
176 |
|
|
.SH "COMPONENTS"
|
177 |
|
|
.LP
|
178 |
|
|
.nf
|
179 |
|
|
Name: \fBselectionbox\fR
|
180 |
|
|
Class: \fBSelectionbox\fR
|
181 |
|
|
.fi
|
182 |
|
|
.IP
|
183 |
|
|
The selectionbox component is the selection box for the selection
|
184 |
|
|
dialog. See the "selectionbox" widget manual entry for details on the
|
185 |
|
|
selectionbox component item.
|
186 |
|
|
.fi
|
187 |
|
|
|
188 |
|
|
.SH EXAMPLE
|
189 |
|
|
.DS
|
190 |
|
|
selectiondialog .sd
|
191 |
|
|
.sd activate
|
192 |
|
|
.DE
|
193 |
|
|
.SH AUTHOR
|
194 |
|
|
Mark L. Ulferts
|
195 |
|
|
.SH KEYWORDS
|
196 |
|
|
selectiondialog, selectionbox, dialog, dialogshell, shell, widget
|
197 |
|
|
|