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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [insight/] [tix/] [man/] [StdBBox.n] - Blame information for rev 578

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
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 tixStdButonBox tix 4.0
15
.BS
16
'
17
'
18
'----------------------------------------------------------------------
19
.SH NAME
20
tixStdButonBox \- Create and manipulate Tix StdButonBox widgets
21
'
22
'
23
'
24
'----------------------------------------------------------------------
25
.SH SYNOPSIS
26
\fBtixStdButonBox\fI \fIpathName ?\fIoptions\fR?
27
'
28
'
29
'
30
'----------------------------------------------------------------------
31
.SH "STANDARD OPTIONS"
32
.LP
33
.nf
34
.ta 4c 8c 12c
35
\fB
36
'
37
anchor  background      cursor
38
relief  borderWidth
39
'
40
\fR
41
.ta 4c
42
.fi
43
.LP
44
See the \fBoptions(n)\fR manual entry for details on the standard options.
45
'
46
'
47
'----------------------------------------------------------------------
48
.SH "WIDGET-SPECIFIC OPTIONS"
49
'
50
'
51
'----------BEGIN
52
.LP
53
.nf
54
Name:           \fBorientation\fR
55
Class:          \fBOrientation\fR
56
Switch:         \fB\-orientation\fR
57
Alias:          \fB\-orient\fR
58
.fi
59
.IP
60
\fBStatic Option\fR. Specifies the orientation of the button
61
subwidgets. Only the values "horizontal" and "vertical" are recognized.
62
'----------END
63
'
64
'----------BEGIN
65
.LP
66
.nf
67
Name:           \fBpadx\fR
68
Class:          \fBPad\fR
69
Switch:         \fB\-padx\fR
70
.fi
71
.IP
72
Specifies the horizontal padding between two neighboring button
73
subwidgets in the StdButonBox widget.
74
'----------END
75
 
76
'----------BEGIN
77
.LP
78
.nf
79
Name:           \fBpadx\fR
80
Class:          \fBPad\fR
81
Switch:         \fB\-padx\fR
82
.fi
83
.IP
84
Specifies the vertical padding between two neighboring button
85
subwidgets in the StdButonBox widget.
86
'----------END
87
'
88
'----------BEGIN
89
.LP
90
.nf
91
Name:           \fBstate\fR
92
Class:          \fBState\fR
93
Switch:         \fB\-state\fR
94
.fi
95
.IP
96
Specifies the state of all the buttons inside the StdButtonBox widget.
97
 
98
\fINote\fR:
99
Setting this option using the \fIconfig\fR widget command will enable
100
or disable all the buttons subwidgets. Original states of the
101
individual buttons are \fInot\fR saved.
102
'----------END
103
'
104
'----------------------------------------------------------------------
105
.SH SUBWIDGETS
106
.PP
107
'
108
'----------BEGIN
109
.LP
110
.nf
111
Name:           \fBok\fR
112
Class:          \fBButton\fR
113
.fi
114
.IP
115
The first button subwidget. By default it displays the text string "Ok"
116
'----------END
117
'
118
'
119
'----------BEGIN
120
.LP
121
.nf
122
Name:           \fBapply\fR
123
Class:          \fBButton\fR
124
.fi
125
.IP
126
The second button subwidget. By default it displays the text string "Apply"
127
'----------END
128
'
129
'
130
'----------BEGIN
131
.LP
132
.nf
133
Name:           \fBcancel\fR
134
Class:          \fBButton\fR
135
.fi
136
.IP
137
The third button subwidget. By default it displays the text string "Cancel"
138
'----------END
139
'
140
'
141
'----------BEGIN
142
.LP
143
.nf
144
Name:           \fBhelp\fR
145
Class:          \fBButton\fR
146
.fi
147
.IP
148
The fourth button subwidget. By default it displays the text string "Help"
149
'----------END
150
'
151
'
152
'----------------------------------------------------------------------
153
.SH DESCRIPTION
154
'
155
.PP
156
'
157
The \fBtixStdButonBox\fR command creates a new window (given by the
158
\fIpathName\fR argument) and makes it into a StdButonBox widget.
159
Additional options, described above, may be specified on the command
160
line or in the option database to configure aspects of the StdButonBox
161
such as its cursor and relief.
162
'
163
.PP
164
The StdButonBox widget is a group of Standard buttons for Motif-like
165
dialog boxes.
166
 
167
'
168
'
169
'----------------------------------------------------------------------
170
.SH "WIDGET COMMAND"
171
.PP
172
'
173
The \fBtixStdButonBox\fR command creates a new Tcl command whose name is
174
the same as the path name of the StdButonBox's window. This command may
175
be used to invoke various operations on the widget. It has the
176
following general form:
177
'
178
.DS C
179
'
180
\fIpathName option \fR?\fIarg arg ...\fR?
181
 
182
.DE
183
'
184
\fIPathName\fR is the name of the command, which is the same as
185
the StdButonBox widget's path name.  \fIOption\fR and the \fIarg\fRs
186
determine the exact behavior of the command.  The following
187
commands are possible for StdButonBox widgets:
188
'
189
.TP
190
\fIpathName \fBcget\fR \fIoption\fR
191
'
192
Returns the current value of the configuration option given by
193
\fIoption\fR. \fIOption\fR may have any of the values accepted by the
194
\fBtixStdButonBox\fR command.
195
'
196
.TP
197
'
198
\fIpathName \fBconfigure\fR ?\fIoption\fR? \fI?value option value ...\fR?
199
'
200
Query or modify the configuration options of the widget.  If no
201
\fIoption\fR is specified, returns a list describing all of the
202
available options for \fIpathName\fR (see \fBTk_ConfigureInfo\fR for
203
information on the format of this list). If \fIoption\fR is specified
204
with no \fIvalue\fR, then the command returns a list describing the
205
one named option (this list will be identical to the corresponding
206
sublist of the value returned if no \fIoption\fR is specified).  If
207
one or more \fIoption\-value\fR pairs are specified, then the command
208
modifies the given widget option(s) to have the given value(s); in
209
this case the command returns an empty string. \fIOption\fR may have
210
any of the values accepted by the \fBtixStdButonBox\fR command.
211
'
212
'
213
.TP
214
\fIpathName \fBinvoke \fIbuttonName\fR
215
'
216
Invoke the button subwidget with the name \fRbuttonName\fR.
217
'
218
.TP
219
'
220
\fIpathName \fBsubwidget \fI name ?args?\fR
221
'
222
When no additional arguments are given, returns the pathname of the
223
subwidget of the specified name.
224
 
225
When no additional arguments are given, the widget command of the
226
specified subwidget will be called with these parameters.
227
'
228
'----------------------------------------------------------------------
229
.SH BINDINGS
230
.PP
231
TixStdButonBox widgets have no default bindings. The button subwidgets
232
retain their default Tk bindings.
233
'
234
'
235
'
236
'
237
'----------------------------------------------------------------------
238
.SH KEYWORDS
239
Tix(n), Container Widgets

powered by: WebSVN 2.1.0

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