1 |
578 |
markom |
|
2 |
|
|
|
3 |
|
|
|
4 |
|
|
<TITLE>tixStdButonBox - Create and manipulate Tix StdButonBox widgets</TITLE>
|
5 |
|
|
<Center><H2>tixStdButonBox - Create and manipulate Tix StdButonBox widgets</H2></Center><hr>
|
6 |
|
|
|
7 |
|
|
</pre><H3>SYNOPSIS</H3>
|
8 |
|
|
<B>tixStdButonBox<I> <I>pathName ?<I>options</I></B>?
|
9 |
|
|
</pre><H3>STANDARD OPTIONS</H3>
|
10 |
|
|
<P>
|
11 |
|
|
<pre><code><code><code>
|
12 |
|
|
<B>
|
13 |
|
|
anchor background cursor
|
14 |
|
|
relief borderWidth
|
15 |
|
|
</B></I>
|
16 |
|
|
</code></code></code></pre>
|
17 |
|
|
<P>
|
18 |
|
|
See the <B>options(n)</B></I> manual entry for details on the standard options.
|
19 |
|
|
</pre><H3>WIDGET-SPECIFIC OPTIONS</H3>
|
20 |
|
|
<P>
|
21 |
|
|
<pre><code><code><code>
|
22 |
|
|
Name: <B>orientation</B></I>
|
23 |
|
|
Class: <B>Orientation</B></I>
|
24 |
|
|
Switch: <B>-orientation</B></I>
|
25 |
|
|
Alias: <B>-orient</B></I>
|
26 |
|
|
</code></code></code></pre>
|
27 |
|
|
<UL>
|
28 |
|
|
<B>Static Option</B></I>. Specifies the orientation of the button
|
29 |
|
|
subwidgets. Only the values "horizontal" and "vertical" are recognized.
|
30 |
|
|
</UL>
|
31 |
|
|
<P>
|
32 |
|
|
<pre><code><code><code>
|
33 |
|
|
Name: <B>padx</B></I>
|
34 |
|
|
Class: <B>Pad</B></I>
|
35 |
|
|
Switch: <B>-padx</B></I>
|
36 |
|
|
</code></code></code></pre>
|
37 |
|
|
<UL>
|
38 |
|
|
Specifies the horizontal padding between two neighboring button
|
39 |
|
|
subwidgets in the StdButonBox widget.
|
40 |
|
|
|
41 |
|
|
</UL>
|
42 |
|
|
<P>
|
43 |
|
|
<pre><code><code><code>
|
44 |
|
|
Name: <B>padx</B></I>
|
45 |
|
|
Class: <B>Pad</B></I>
|
46 |
|
|
Switch: <B>-padx</B></I>
|
47 |
|
|
</code></code></code></pre>
|
48 |
|
|
<UL>
|
49 |
|
|
Specifies the vertical padding between two neighboring button
|
50 |
|
|
subwidgets in the StdButonBox widget.
|
51 |
|
|
</UL>
|
52 |
|
|
<P>
|
53 |
|
|
<pre><code><code><code>
|
54 |
|
|
Name: <B>state</B></I>
|
55 |
|
|
Class: <B>State</B></I>
|
56 |
|
|
Switch: <B>-state</B></I>
|
57 |
|
|
</code></code></code></pre>
|
58 |
|
|
<UL>
|
59 |
|
|
Specifies the state of all the buttons inside the StdButtonBox widget.
|
60 |
|
|
|
61 |
|
|
<I>Note</I></B>:
|
62 |
|
|
Setting this option using the <I>config</I></B> widget command will enable
|
63 |
|
|
or disable all the buttons subwidgets. Original states of the
|
64 |
|
|
individual buttons are <I>not</I></B> saved.
|
65 |
|
|
</UL>
|
66 |
|
|
</pre><H3>SUBWIDGETS</H3>
|
67 |
|
|
<P>
|
68 |
|
|
<P>
|
69 |
|
|
<pre><code><code><code>
|
70 |
|
|
Name: <B>ok</B></I>
|
71 |
|
|
Class: <B>Button</B></I>
|
72 |
|
|
</code></code></code></pre>
|
73 |
|
|
<UL>
|
74 |
|
|
The first button subwidget. By default it displays the text string "Ok"
|
75 |
|
|
</UL>
|
76 |
|
|
<P>
|
77 |
|
|
<pre><code><code><code>
|
78 |
|
|
Name: <B>apply</B></I>
|
79 |
|
|
Class: <B>Button</B></I>
|
80 |
|
|
</code></code></code></pre>
|
81 |
|
|
<UL>
|
82 |
|
|
The second button subwidget. By default it displays the text string "Apply"
|
83 |
|
|
</UL>
|
84 |
|
|
<P>
|
85 |
|
|
<pre><code><code><code>
|
86 |
|
|
Name: <B>cancel</B></I>
|
87 |
|
|
Class: <B>Button</B></I>
|
88 |
|
|
</code></code></code></pre>
|
89 |
|
|
<UL>
|
90 |
|
|
The third button subwidget. By default it displays the text string "Cancel"
|
91 |
|
|
</UL>
|
92 |
|
|
<P>
|
93 |
|
|
<pre><code><code><code>
|
94 |
|
|
Name: <B>help</B></I>
|
95 |
|
|
Class: <B>Button</B></I>
|
96 |
|
|
</code></code></code></pre>
|
97 |
|
|
<UL>
|
98 |
|
|
The fourth button subwidget. By default it displays the text string "Help"
|
99 |
|
|
</UL>
|
100 |
|
|
</pre><H3>DESCRIPTION</H3>
|
101 |
|
|
<P>
|
102 |
|
|
The <B>tixStdButonBox</B></I> command creates a new window (given by the
|
103 |
|
|
<I>pathName</I></B> argument) and makes it into a StdButonBox widget.
|
104 |
|
|
Additional options, described above, may be specified on the command
|
105 |
|
|
line or in the option database to configure aspects of the StdButonBox
|
106 |
|
|
such as its cursor and relief.
|
107 |
|
|
<P>
|
108 |
|
|
The StdButonBox widget is a group of Standard buttons for Motif-like
|
109 |
|
|
dialog boxes.
|
110 |
|
|
|
111 |
|
|
</pre><H3>WIDGET COMMAND</H3>
|
112 |
|
|
<P>
|
113 |
|
|
The <B>tixStdButonBox</B></I> command creates a new Tcl command whose name is
|
114 |
|
|
be used to invoke various operations on the widget. It has the
|
115 |
|
|
following general form:
|
116 |
|
|
<pre>
|
117 |
|
|
<I>pathName option </I></B>?<I>arg arg ...</I></B>?
|
118 |
|
|
|
119 |
|
|
</pre>
|
120 |
|
|
<I>PathName</I></B> is the name of the command, which is the same as
|
121 |
|
|
determine the exact behavior of the command. The following
|
122 |
|
|
commands are possible for StdButonBox widgets:
|
123 |
|
|
<DL>
|
124 |
|
|
<DT> <I>pathName <B>cget</B></I> <I>option</I></B>
|
125 |
|
|
</I></B>
|
126 |
|
|
<DD> Returns the current value of the configuration option given by
|
127 |
|
|
<I>option</I></B>. <I>Option</I></B> may have any of the values accepted by the
|
128 |
|
|
<B>tixStdButonBox</B></I> command.
|
129 |
|
|
</DL>
|
130 |
|
|
<DL>
|
131 |
|
|
<DT> <I>pathName <B>configure</B></I> ?<I>option</I></B>? <I>?value option value ...</I></B>?
|
132 |
|
|
</I></B>
|
133 |
|
|
<DD> Query or modify the configuration options of the widget. If no
|
134 |
|
|
<I>option</I></B> is specified, returns a list describing all of the
|
135 |
|
|
available options for <I>pathName</I></B> (see <B>Tk_ConfigureInfo</B></I> for
|
136 |
|
|
information on the format of this list). If <I>option</I></B> is specified
|
137 |
|
|
with no <I>value</I></B>, then the command returns a list describing the
|
138 |
|
|
one named option (this list will be identical to the corresponding
|
139 |
|
|
sublist of the value returned if no <I>option</I></B> is specified). If
|
140 |
|
|
one or more <I>option-value</I></B> pairs are specified, then the command
|
141 |
|
|
modifies the given widget option(s) to have the given value(s); in
|
142 |
|
|
this case the command returns an empty string. <I>Option</I></B> may have
|
143 |
|
|
any of the values accepted by the <B>tixStdButonBox</B></I> command.
|
144 |
|
|
</DL>
|
145 |
|
|
<DL>
|
146 |
|
|
<DT> <I>pathName <B>invoke <I>buttonName</I></B>
|
147 |
|
|
</I></B>
|
148 |
|
|
<DD> Invoke the button subwidget with the name </B></I>buttonName</B></I>.
|
149 |
|
|
</DL>
|
150 |
|
|
<DL>
|
151 |
|
|
<DT> <I>pathName <B>subwidget <I> name ?args?</I></B>
|
152 |
|
|
</I></B>
|
153 |
|
|
<DD> When no additional arguments are given, returns the pathname of the
|
154 |
|
|
subwidget of the specified name.
|
155 |
|
|
|
156 |
|
|
When no additional arguments are given, the widget command of the
|
157 |
|
|
specified subwidget will be called with these parameters.
|
158 |
|
|
</DL>
|
159 |
|
|
</pre><H3>BINDINGS</H3>
|
160 |
|
|
<P>
|
161 |
|
|
TixStdButonBox widgets have no default bindings. The button subwidgets
|
162 |
|
|
retain their default Tk bindings.
|
163 |
|
|
</pre><H3>KEYWORDS</H3>
|
164 |
|
|
Tix(n), Container Widgets
|
165 |
|
|
<hr><i>Last modified Sun Jan 19 22:34:38 EST 1997 </i> ---
|
166 |
|
|
<i>Serial 853731305</i>
|