arcadia 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README +126 -123
- data/arcadia.rb +770 -756
- data/base/a-contracts.rb +130 -93
- data/base/a-ext.rb +280 -280
- data/base/a-libs.rb +5 -11
- data/base/a-utils.rb +235 -44
- data/conf/arcadia.conf +20 -16
- data/conf/arcadia.init.rb +0 -0
- data/conf/arcadia.res.rb +74 -0
- data/ext/ae-complete-code/ae-complete-code.conf +0 -0
- data/ext/ae-complete-code/ae-complete-code.rb +80 -79
- data/ext/ae-debug/ae-debug.conf +0 -0
- data/ext/ae-debug/ae-debug.rb +2 -6
- data/ext/ae-debug/debug1.57.rb +0 -0
- data/ext/ae-doc-code/ae-doc-code.conf +15 -0
- data/ext/ae-doc-code/ae-doc-code.rb +289 -0
- data/ext/ae-editor/ae-editor.conf +17 -8
- data/ext/ae-editor/ae-editor.rb +738 -396
- data/ext/ae-event-log/ae-event-log.conf +0 -0
- data/ext/ae-event-log/ae-event-log.rb +0 -0
- data/ext/ae-file-history/ae-file-history.conf +2 -2
- data/ext/ae-file-history/ae-file-history.rb +286 -290
- data/ext/ae-inspector/ae-inspector.conf +0 -0
- data/ext/ae-inspector/ae-inspector.rb +0 -0
- data/ext/ae-output-event/ae-output-event.conf +2 -2
- data/ext/ae-output/ae-output.conf +2 -2
- data/ext/ae-output/ae-output.rb +173 -178
- data/ext/ae-palette/ae-palette.conf +0 -0
- data/ext/ae-palette/ae-palette.rb +0 -0
- data/ext/ae-shell/ae-shell.conf +0 -0
- data/ext/ae-shell/ae-shell.rb +54 -54
- data/lib/tk/al-tk.rb +3076 -3082
- data/lib/tk/al-tk.res.rb +0 -0
- data/lib/tk/al-tkarcadia.rb +0 -0
- data/lib/tk/al-tkcustom.rb +0 -0
- data/lib/tkext/al-bwidget.rb +0 -0
- data/lib/tkext/al-iwidgets.rb +0 -0
- data/lib/tkext/al-tile.rb +0 -0
- data/lib/tkext/al-tktable.rb +0 -0
- data/tcl/BWidget-1.8.0/BWman/ArrowButton.html +276 -0
- data/tcl/BWidget-1.8.0/BWman/BWidget.html +228 -0
- data/tcl/BWidget-1.8.0/BWman/Button.html +273 -0
- data/tcl/BWidget-1.8.0/BWman/ButtonBox.html +264 -0
- data/tcl/BWidget-1.8.0/BWman/ComboBox.html +402 -0
- data/tcl/BWidget-1.8.0/BWman/Dialog.html +314 -0
- data/tcl/BWidget-1.8.0/BWman/DragSite.html +139 -0
- data/tcl/BWidget-1.8.0/BWman/DropSite.html +254 -0
- data/tcl/BWidget-1.8.0/BWman/DynamicHelp.html +248 -0
- data/tcl/BWidget-1.8.0/BWman/Entry.html +341 -0
- data/tcl/BWidget-1.8.0/BWman/Label.html +331 -0
- data/tcl/BWidget-1.8.0/BWman/LabelEntry.html +194 -0
- data/tcl/BWidget-1.8.0/BWman/LabelFrame.html +144 -0
- data/tcl/BWidget-1.8.0/BWman/ListBox.html +678 -0
- data/tcl/BWidget-1.8.0/BWman/MainFrame.html +283 -0
- data/tcl/BWidget-1.8.0/BWman/MessageDlg.html +218 -0
- data/tcl/BWidget-1.8.0/BWman/NoteBook.html +374 -0
- data/tcl/BWidget-1.8.0/BWman/PagesManager.html +180 -0
- data/tcl/BWidget-1.8.0/BWman/PanedWindow.html +142 -0
- data/tcl/BWidget-1.8.0/BWman/PanelFrame.html +153 -0
- data/tcl/BWidget-1.8.0/BWman/PasswdDlg.html +214 -0
- data/tcl/BWidget-1.8.0/BWman/ProgressBar.html +152 -0
- data/tcl/BWidget-1.8.0/BWman/ProgressDlg.html +145 -0
- data/tcl/BWidget-1.8.0/BWman/ScrollView.html +130 -0
- data/tcl/BWidget-1.8.0/BWman/ScrollableFrame.html +191 -0
- data/tcl/BWidget-1.8.0/BWman/ScrolledWindow.html +116 -0
- data/tcl/BWidget-1.8.0/BWman/SelectColor.html +164 -0
- data/tcl/BWidget-1.8.0/BWman/SelectFont.html +152 -0
- data/tcl/BWidget-1.8.0/BWman/Separator.html +77 -0
- data/tcl/BWidget-1.8.0/BWman/SpinBox.html +250 -0
- data/tcl/BWidget-1.8.0/BWman/StatusBar.html +147 -0
- data/tcl/BWidget-1.8.0/BWman/TitleFrame.html +107 -0
- data/tcl/BWidget-1.8.0/BWman/Tree.html +947 -0
- data/tcl/BWidget-1.8.0/BWman/Widget.html +502 -0
- data/tcl/BWidget-1.8.0/BWman/contents.html +84 -0
- data/tcl/BWidget-1.8.0/BWman/index.html +7 -0
- data/tcl/BWidget-1.8.0/BWman/navtree.html +41 -0
- data/tcl/BWidget-1.8.0/BWman/options.htm +458 -0
- data/tcl/BWidget-1.8.0/CHANGES.txt +266 -0
- data/tcl/BWidget-1.8.0/ChangeLog +1641 -0
- data/tcl/BWidget-1.8.0/LICENSE.txt +41 -0
- data/tcl/BWidget-1.8.0/README.txt +127 -0
- data/tcl/BWidget-1.8.0/arrow.tcl +551 -0
- data/tcl/BWidget-1.8.0/bitmap.tcl +94 -0
- data/tcl/BWidget-1.8.0/button.tcl +324 -0
- data/tcl/BWidget-1.8.0/buttonbox.tcl +403 -0
- data/tcl/BWidget-1.8.0/color.tcl +493 -0
- data/tcl/BWidget-1.8.0/combobox.tcl +809 -0
- data/tcl/BWidget-1.8.0/demo/basic.tcl +199 -0
- data/tcl/BWidget-1.8.0/demo/bwidget.xbm +46 -0
- data/tcl/BWidget-1.8.0/demo/demo.tcl +212 -0
- data/tcl/BWidget-1.8.0/demo/dnd.tcl +42 -0
- data/tcl/BWidget-1.8.0/demo/manager.tcl +141 -0
- data/tcl/BWidget-1.8.0/demo/select.tcl +59 -0
- data/tcl/BWidget-1.8.0/demo/tmpldlg.tcl +214 -0
- data/tcl/BWidget-1.8.0/demo/tree.tcl +260 -0
- data/tcl/BWidget-1.8.0/demo/x1.xbm +2258 -0
- data/tcl/BWidget-1.8.0/dialog.tcl +345 -0
- data/tcl/BWidget-1.8.0/dragsite.tcl +197 -0
- data/tcl/BWidget-1.8.0/dropsite.tcl +455 -0
- data/tcl/BWidget-1.8.0/dynhelp.tcl +625 -0
- data/tcl/BWidget-1.8.0/entry.tcl +469 -0
- data/tcl/BWidget-1.8.0/font.tcl +566 -0
- data/tcl/BWidget-1.8.0/images/bold.gif +0 -0
- data/tcl/BWidget-1.8.0/images/copy.gif +0 -0
- data/tcl/BWidget-1.8.0/images/cut.gif +0 -0
- data/tcl/BWidget-1.8.0/images/dragfile.gif +0 -0
- data/tcl/BWidget-1.8.0/images/dragicon.gif +0 -0
- data/tcl/BWidget-1.8.0/images/error.gif +0 -0
- data/tcl/BWidget-1.8.0/images/file.gif +0 -0
- data/tcl/BWidget-1.8.0/images/folder.gif +0 -0
- data/tcl/BWidget-1.8.0/images/hourglass.gif +0 -0
- data/tcl/BWidget-1.8.0/images/info.gif +0 -0
- data/tcl/BWidget-1.8.0/images/italic.gif +0 -0
- data/tcl/BWidget-1.8.0/images/minus.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/new.gif +0 -0
- data/tcl/BWidget-1.8.0/images/opcopy.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/open.gif +0 -0
- data/tcl/BWidget-1.8.0/images/openfold.gif +0 -0
- data/tcl/BWidget-1.8.0/images/oplink.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/opmove.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/overstrike.gif +0 -0
- data/tcl/BWidget-1.8.0/images/palette.gif +0 -0
- data/tcl/BWidget-1.8.0/images/passwd.gif +0 -0
- data/tcl/BWidget-1.8.0/images/paste.gif +0 -0
- data/tcl/BWidget-1.8.0/images/plus.xbm +5 -0
- data/tcl/BWidget-1.8.0/images/print.gif +0 -0
- data/tcl/BWidget-1.8.0/images/question.gif +0 -0
- data/tcl/BWidget-1.8.0/images/redo.gif +0 -0
- data/tcl/BWidget-1.8.0/images/save.gif +0 -0
- data/tcl/BWidget-1.8.0/images/target.xbm +9 -0
- data/tcl/BWidget-1.8.0/images/underline.gif +0 -0
- data/tcl/BWidget-1.8.0/images/undo.gif +0 -0
- data/tcl/BWidget-1.8.0/images/warning.gif +0 -0
- data/tcl/BWidget-1.8.0/init.tcl +40 -0
- data/tcl/BWidget-1.8.0/label.tcl +271 -0
- data/tcl/BWidget-1.8.0/labelentry.tcl +100 -0
- data/tcl/BWidget-1.8.0/labelframe.tcl +160 -0
- data/tcl/BWidget-1.8.0/lang/da.rc +52 -0
- data/tcl/BWidget-1.8.0/lang/de.rc +52 -0
- data/tcl/BWidget-1.8.0/lang/en.rc +52 -0
- data/tcl/BWidget-1.8.0/lang/es.rc +53 -0
- data/tcl/BWidget-1.8.0/lang/fr.rc +52 -0
- data/tcl/BWidget-1.8.0/listbox.tcl +1638 -0
- data/tcl/BWidget-1.8.0/mainframe.tcl +711 -0
- data/tcl/BWidget-1.8.0/messagedlg.tcl +128 -0
- data/tcl/BWidget-1.8.0/notebook.tcl +1164 -0
- data/tcl/BWidget-1.8.0/pagesmgr.tcl +294 -0
- data/tcl/BWidget-1.8.0/panedw.tcl +381 -0
- data/tcl/BWidget-1.8.0/panelframe.tcl +246 -0
- data/tcl/BWidget-1.8.0/passwddlg.tcl +178 -0
- data/tcl/BWidget-1.8.0/pkgIndex.tcl +47 -0
- data/tcl/BWidget-1.8.0/progressbar.tcl +208 -0
- data/tcl/BWidget-1.8.0/progressdlg.tcl +87 -0
- data/tcl/BWidget-1.8.0/scrollframe.tcl +226 -0
- data/tcl/BWidget-1.8.0/scrollview.tcl +254 -0
- data/tcl/BWidget-1.8.0/scrollw.tcl +280 -0
- data/tcl/BWidget-1.8.0/separator.tcl +75 -0
- data/tcl/BWidget-1.8.0/spinbox.tcl +331 -0
- data/tcl/BWidget-1.8.0/statusbar.tcl +422 -0
- data/tcl/BWidget-1.8.0/tests/entry.test +173 -0
- data/tcl/BWidget-1.8.0/titleframe.tcl +170 -0
- data/tcl/BWidget-1.8.0/tree.tcl +2228 -0
- data/tcl/BWidget-1.8.0/utils.tcl +645 -0
- data/tcl/BWidget-1.8.0/widget.tcl +1576 -0
- data/tcl/BWidget-1.8.0/wizard.tcl +1028 -0
- data/tcl/BWidget-1.8.0/xpm2image.tcl +115 -0
- metadata +141 -5
@@ -0,0 +1,250 @@
|
|
1
|
+
<HTML>
|
2
|
+
<HEAD><TITLE>SpinBox</TITLE></HEAD>
|
3
|
+
<BODY BGCOLOR=white>
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
5
|
+
<DD><B>SpinBox</B>
|
6
|
+
- SpinBox widget
|
7
|
+
</DD></DL>
|
8
|
+
<DL>
|
9
|
+
<DT><I>CREATION</I></DT>
|
10
|
+
<DD><A HREF="#descr"><B>SpinBox</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
11
|
+
</DL>
|
12
|
+
<DL>
|
13
|
+
<DT><I><A HREF="ArrowButton.html">OPTIONS from <B>ArrowButton</B></A></I></DT>
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
15
|
+
<TR>
|
16
|
+
<TD> -background or -bg</TD>
|
17
|
+
<TD> -disabledforeground</TD>
|
18
|
+
</TR>
|
19
|
+
<TR>
|
20
|
+
<TD> -foreground or -fg</TD>
|
21
|
+
<TD> -repeatdelay</TD>
|
22
|
+
</TR>
|
23
|
+
<TR>
|
24
|
+
<TD> -repeatinterval</TD>
|
25
|
+
<TD> -state</TD>
|
26
|
+
</TR>
|
27
|
+
</TABLE></DD>
|
28
|
+
</DL>
|
29
|
+
<DL>
|
30
|
+
<DT><I><A HREF="Entry.html">OPTIONS from <B>Entry</B></A></I></DT>
|
31
|
+
<DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
|
32
|
+
<TR>
|
33
|
+
<TD> -command</TD>
|
34
|
+
<TD> -disabledforeground</TD>
|
35
|
+
</TR>
|
36
|
+
<TR>
|
37
|
+
<TD> -dragenabled</TD>
|
38
|
+
<TD> -dragendcmd</TD>
|
39
|
+
</TR>
|
40
|
+
<TR>
|
41
|
+
<TD> -dragevent</TD>
|
42
|
+
<TD> -draginitcmd</TD>
|
43
|
+
</TR>
|
44
|
+
<TR>
|
45
|
+
<TD> -dragtype</TD>
|
46
|
+
<TD> -dropcmd</TD>
|
47
|
+
</TR>
|
48
|
+
<TR>
|
49
|
+
<TD> -dropenabled</TD>
|
50
|
+
<TD> -dropovercmd</TD>
|
51
|
+
</TR>
|
52
|
+
<TR>
|
53
|
+
<TD> -droptypes</TD>
|
54
|
+
<TD> -editable</TD>
|
55
|
+
</TR>
|
56
|
+
<TR>
|
57
|
+
<TD> -entrybg (see <B>-background</B>)</TD>
|
58
|
+
<TD> -entryfg (see <B>-foreground</B>)</TD>
|
59
|
+
</TR>
|
60
|
+
<TR>
|
61
|
+
<TD> -exportselection</TD>
|
62
|
+
<TD> -font</TD>
|
63
|
+
</TR>
|
64
|
+
<TR>
|
65
|
+
<TD> -helptext</TD>
|
66
|
+
<TD> -helptype</TD>
|
67
|
+
</TR>
|
68
|
+
<TR>
|
69
|
+
<TD> -helpvar</TD>
|
70
|
+
<TD> -highlightbackground</TD>
|
71
|
+
</TR>
|
72
|
+
<TR>
|
73
|
+
<TD> -highlightcolor</TD>
|
74
|
+
<TD> -highlightthickness</TD>
|
75
|
+
</TR>
|
76
|
+
<TR>
|
77
|
+
<TD> -insertbackground</TD>
|
78
|
+
<TD> -insertborderwidth</TD>
|
79
|
+
</TR>
|
80
|
+
<TR>
|
81
|
+
<TD> -insertofftime</TD>
|
82
|
+
<TD> -insertontime</TD>
|
83
|
+
</TR>
|
84
|
+
<TR>
|
85
|
+
<TD> -insertwidth</TD>
|
86
|
+
<TD> -justify</TD>
|
87
|
+
</TR>
|
88
|
+
<TR>
|
89
|
+
<TD> -selectbackground</TD>
|
90
|
+
<TD> -selectborderwidth</TD>
|
91
|
+
</TR>
|
92
|
+
<TR>
|
93
|
+
<TD> -selectforeground</TD>
|
94
|
+
<TD> -show</TD>
|
95
|
+
</TR>
|
96
|
+
<TR>
|
97
|
+
<TD> -state</TD>
|
98
|
+
<TD> -takefocus</TD>
|
99
|
+
</TR>
|
100
|
+
<TR>
|
101
|
+
<TD> -text</TD>
|
102
|
+
<TD> -textvariable</TD>
|
103
|
+
</TR>
|
104
|
+
<TR>
|
105
|
+
<TD> -width</TD>
|
106
|
+
<TD> -xscrollcommand</TD>
|
107
|
+
</TR>
|
108
|
+
</TABLE></DD>
|
109
|
+
</DL>
|
110
|
+
<DL>
|
111
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
112
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
113
|
+
<TR>
|
114
|
+
<TD> <A HREF="#-modifycmd">-modifycmd</A></TR>
|
115
|
+
<TD> <A HREF="#-range">-range</A></TR>
|
116
|
+
</TR>
|
117
|
+
<TR>
|
118
|
+
<TD> <A HREF="#-values">-values</A></TR>
|
119
|
+
</TABLE></DD>
|
120
|
+
</DL>
|
121
|
+
<DL>
|
122
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
123
|
+
<DD><I>pathName</I> <A HREF="#bind"><B>bind</B></A>
|
124
|
+
?<I>arg...</I>?
|
125
|
+
</DD>
|
126
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
127
|
+
<I>option</I>
|
128
|
+
</DD>
|
129
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
130
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
131
|
+
</DD>
|
132
|
+
<DD><I>pathName</I> <A HREF="#getvalue"><B>getvalue</B></A>
|
133
|
+
</DD>
|
134
|
+
<DD><I>pathName</I> <A HREF="#setvalue"><B>setvalue</B></A>
|
135
|
+
<I>index</I>
|
136
|
+
</DD>
|
137
|
+
</DL>
|
138
|
+
<BR><HR WIDTH="100%"><BR>
|
139
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
140
|
+
<P>
|
141
|
+
|
142
|
+
SpinBox widget enables the user to select a value among a list given by the <B>values</B>
|
143
|
+
option or a set of values defined by a mininum, a maximum and an increment.
|
144
|
+
Notice that <B>range</B> option defines a list of values, so <B>getvalue</B> and
|
145
|
+
<B>setvalue</B> work with both values and range.
|
146
|
+
|
147
|
+
</P>
|
148
|
+
<BR><HR WIDTH="50%"><BR>
|
149
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
150
|
+
<DL><DT><A NAME="-modifycmd"><B>-modifycmd</B></A></DT>
|
151
|
+
<DD>
|
152
|
+
|
153
|
+
Specifies a Tcl command called when the user modify the value of the SpinBox.
|
154
|
+
</DD>
|
155
|
+
</DL>
|
156
|
+
<DL><DT><A NAME="-range"><B>-range</B></A></DT>
|
157
|
+
<DD>
|
158
|
+
|
159
|
+
Specifies a list of three intergers (or real) describing the minimum, maximum and increment
|
160
|
+
of the SpinBox.
|
161
|
+
</DD>
|
162
|
+
</DL>
|
163
|
+
<DL><DT><A NAME="-values"><B>-values</B></A></DT>
|
164
|
+
<DD>
|
165
|
+
|
166
|
+
Specifies the values accepted by the SpinBox. This option takes precedence over
|
167
|
+
<B>range</B> option.
|
168
|
+
</DD>
|
169
|
+
</DL>
|
170
|
+
<HR WIDTH="50%"><BR>
|
171
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
172
|
+
<DL><DT><A NAME="bind"><I>pathName</I> <B>bind</B></A>
|
173
|
+
?<I>arg...</I>?
|
174
|
+
</DT><DD>
|
175
|
+
|
176
|
+
Set bindings on the entry widget.
|
177
|
+
|
178
|
+
</DD></DL>
|
179
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
180
|
+
<I>option</I>
|
181
|
+
</DT><DD>
|
182
|
+
|
183
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
184
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
185
|
+
</DD></DL>
|
186
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
187
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
188
|
+
</DT><DD>
|
189
|
+
|
190
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
191
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
192
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
193
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
194
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
195
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
196
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
197
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
198
|
+
Read-only options are not be modified.
|
199
|
+
|
200
|
+
</DD></DL>
|
201
|
+
<DL><DT><A NAME="getvalue"><I>pathName</I> <B>getvalue</B></A>
|
202
|
+
</DT><DD>
|
203
|
+
|
204
|
+
Returns the index of the current text of the SpinBox in the list of values,
|
205
|
+
or -1 if it doesn't match any value.
|
206
|
+
|
207
|
+
</DD></DL>
|
208
|
+
<DL><DT><A NAME="setvalue"><I>pathName</I> <B>setvalue</B></A>
|
209
|
+
<I>index</I>
|
210
|
+
</DT><DD>
|
211
|
+
|
212
|
+
Set the text of the SpinBox to the value indicated by <I>index</I> in the list of values.
|
213
|
+
<I>index</I> may be specified in any of the following forms:
|
214
|
+
<P>
|
215
|
+
<DL COMPACT>
|
216
|
+
<DT>
|
217
|
+
<B>last</B>
|
218
|
+
<DD>
|
219
|
+
Specifies the last element of the list of values.
|
220
|
+
<DT><B>first</B>
|
221
|
+
<DD>
|
222
|
+
Specifies the first element of the list of values.
|
223
|
+
<DT>
|
224
|
+
<B>next</B>
|
225
|
+
<DD>
|
226
|
+
Specifies the element following the current (ie returned by <B>getvalue</B>) in the list
|
227
|
+
of values.
|
228
|
+
<DT><B>previous</B>
|
229
|
+
<DD>
|
230
|
+
Specifies the element preceding the current (ie returned by <B>getvalue</B>) in the list
|
231
|
+
of values.
|
232
|
+
<DT>
|
233
|
+
@<I>number</I>
|
234
|
+
<DD>
|
235
|
+
Specifies the integer index in the list of values.
|
236
|
+
</DL>
|
237
|
+
|
238
|
+
</DD></DL>
|
239
|
+
<HR><BR><B>BINDINGS</B><BR><BR>
|
240
|
+
|
241
|
+
When Entry of the SpinBox has the input focus, it has the following bindings, in addition
|
242
|
+
to the default Entry bindings:
|
243
|
+
<UL>
|
244
|
+
<LI>Page up set the value of the SpinBox to the last value.
|
245
|
+
<LI>Page down set the value of the SpinBox to the first value.
|
246
|
+
<LI>Arrow up set the value of the SpinBox to the next value.
|
247
|
+
<LI>Arrow down set the value of the SpinBox to the previous value.
|
248
|
+
</UL>
|
249
|
+
|
250
|
+
</BODY></HTML>
|
@@ -0,0 +1,147 @@
|
|
1
|
+
<HTML>
|
2
|
+
<HEAD><TITLE>StatusBar</TITLE></HEAD>
|
3
|
+
<BODY BGCOLOR=white>
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
5
|
+
<DD><B>StatusBar</B>
|
6
|
+
- status bar widget
|
7
|
+
</DD></DL>
|
8
|
+
<DL>
|
9
|
+
<DT><I>CREATION</I></DT>
|
10
|
+
<DD><A HREF="#descr"><B>StatusBar</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
11
|
+
</DL>
|
12
|
+
<DL>
|
13
|
+
<DT><I>STANDARD OPTIONS</I></DT>
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
15
|
+
<TR>
|
16
|
+
<TD> <A HREF="options.htm#M-background">-background or -bg</A></TD>
|
17
|
+
<TD> <A HREF="options.htm#M-borderwidth">-borderwidth or -bd</A></TD>
|
18
|
+
</TR>
|
19
|
+
<TR>
|
20
|
+
<TD> <A HREF="options.htm#M-foreground">-foreground or -fg</A></TD>
|
21
|
+
<TD> <A HREF="options.htm#M-orient">-orient</A></TR>
|
22
|
+
</TR>
|
23
|
+
<TR>
|
24
|
+
<TD> <A HREF="options.htm#M-relief">-relief</A></TR>
|
25
|
+
<TD> <A HREF="options.htm#M-troughcolor">-troughcolor</A></TR>
|
26
|
+
</TR>
|
27
|
+
</TABLE></DD>
|
28
|
+
</DL>
|
29
|
+
<DL>
|
30
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
31
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
32
|
+
<TR>
|
33
|
+
<TD> <A HREF="#-height">-height</A></TR>
|
34
|
+
<TD> <A HREF="#-showresize">-showresize</A></TR>
|
35
|
+
</TR>
|
36
|
+
<TR>
|
37
|
+
<TD> <A HREF="#-ipad">-ipad</A></TR>
|
38
|
+
<TD> <A HREF="#-pad">-pad</A></TR>
|
39
|
+
</TR>
|
40
|
+
<TR>
|
41
|
+
<TD> <A HREF="#-width">-width</A>
|
42
|
+
</TR>
|
43
|
+
</TABLE></DD>
|
44
|
+
</DL>
|
45
|
+
<DL>
|
46
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
47
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
48
|
+
<I>option</I>
|
49
|
+
</DD>
|
50
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
51
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
52
|
+
</DD>
|
53
|
+
</DL>
|
54
|
+
<BR><HR WIDTH="100%"><BR>
|
55
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
56
|
+
|
57
|
+
<P>
|
58
|
+
StatusBar widget is a simple container widget with a corner resize control,
|
59
|
+
meant to be placed at the bottom of a toplevel dialog.
|
60
|
+
</P>
|
61
|
+
|
62
|
+
<BR><HR WIDTH="50%"><BR>
|
63
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
64
|
+
<DL><DT><A NAME="-height"><B>-height</B></A></DT>
|
65
|
+
<DD>
|
66
|
+
Specifies the desired height for the widget.
|
67
|
+
</DD>
|
68
|
+
</DL>
|
69
|
+
<DL><DT><A NAME="-showresize"><B>-showresize</B></A></DT>
|
70
|
+
<DD>
|
71
|
+
Specifies whether to show the corner resize control.
|
72
|
+
</DD>
|
73
|
+
</DL>
|
74
|
+
<DL><DT><A NAME="-pad"><B>-pad</B></A></DT>
|
75
|
+
<DD>
|
76
|
+
The spacing to place around the status bar.
|
77
|
+
</DD>
|
78
|
+
</DL>
|
79
|
+
<DL><DT><A NAME="-ipad"><B>-ipad</B></A></DT>
|
80
|
+
<DD>
|
81
|
+
The spacing to place around individual status bar items.
|
82
|
+
</DD>
|
83
|
+
</DL>
|
84
|
+
<DL><DT><A NAME="-width"><B>-width</B></A></DT>
|
85
|
+
<DD>
|
86
|
+
Specifies the desired width for the widget.
|
87
|
+
</DD>
|
88
|
+
</DL>
|
89
|
+
|
90
|
+
<HR WIDTH="50%"><BR>
|
91
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
92
|
+
<DL><DT><A NAME="add"><I>pathName</I> <B>add</B></A> <B>widget</B>
|
93
|
+
?<I>option</I> <I>value</I> <I>option</I> <I>value</I> ...?
|
94
|
+
</DT><DD>
|
95
|
+
Add a widget to the status bar. Possible options are:
|
96
|
+
<DL>
|
97
|
+
<DT><B>-weight</B></DT>
|
98
|
+
<DD>Weighting of this item for resizing (passed to <B>grid</B>).</DD>
|
99
|
+
<DT><B>-separator</B></DT>
|
100
|
+
<DD>Whether to use a separator for this item.</DD>
|
101
|
+
<DT><B>-sticky</B></DT>
|
102
|
+
<DD>Passed on to grid.</DD>
|
103
|
+
<DT><B>-pad</B></DT>
|
104
|
+
<DD>Override of the widget's <B>-ipad</B> option for this item.</DD>
|
105
|
+
</DL>
|
106
|
+
</DD>
|
107
|
+
</DL>
|
108
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
109
|
+
<I>option</I>
|
110
|
+
</DT><DD>
|
111
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
112
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
113
|
+
</DD>
|
114
|
+
</DL>
|
115
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
116
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
117
|
+
</DT><DD>
|
118
|
+
|
119
|
+
Query or modify the configuration options of the widget. If no
|
120
|
+
<I>option</I> is specified, returns a list describing all of the available
|
121
|
+
options for <I>pathName</I>. If <I>option</I> is specified with no
|
122
|
+
<I>value</I>, then the command returns a list describing the one named
|
123
|
+
<I>option</I> (this list will be identical to the corresponding sublist of
|
124
|
+
the value returned if no <I>option</I> is specified). If one or more
|
125
|
+
<I>option-value</I> pairs are specified, then the command modifies the
|
126
|
+
given widget option(s) to have the given value(s); in this case the command
|
127
|
+
returns an empty string.
|
128
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
129
|
+
Read-only options are not be modified.
|
130
|
+
</DD>
|
131
|
+
</DL>
|
132
|
+
<DL><DT><A NAME="delete"><I>pathName</I> <B>delete</B></A>
|
133
|
+
<B>widget</B> ?<I>widget</I> ...?
|
134
|
+
</DT><DD>
|
135
|
+
Delete a widget and associated state from the status bar.</DD>
|
136
|
+
</DL>
|
137
|
+
<DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A>
|
138
|
+
</DT><DD>
|
139
|
+
Get the frame widget for the status bar in which status bar items should be
|
140
|
+
created.</DD>
|
141
|
+
</DD>
|
142
|
+
</DL>
|
143
|
+
<DL><DT><A NAME="items"><I>pathName</I> <B>items</B></A>
|
144
|
+
</DT><DD>List of items in the status bar.</DD>
|
145
|
+
<DL>
|
146
|
+
|
147
|
+
</BODY></HTML>
|
@@ -0,0 +1,107 @@
|
|
1
|
+
<HTML>
|
2
|
+
<HEAD><TITLE>TitleFrame</TITLE></HEAD>
|
3
|
+
<BODY BGCOLOR=white>
|
4
|
+
<DL><DT><I><A HREF="#descr">NAME</A></I></DT>
|
5
|
+
<DD><B>TitleFrame</B>
|
6
|
+
- Frame with a title
|
7
|
+
</DD></DL>
|
8
|
+
<DL>
|
9
|
+
<DT><I>CREATION</I></DT>
|
10
|
+
<DD><A HREF="#descr"><B>TitleFrame</B></A> <I>pathName</I> ?<I>option value...</I>?</DD>
|
11
|
+
</DL>
|
12
|
+
<DL>
|
13
|
+
<DT><I>STANDARD OPTIONS</I></DT>
|
14
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
15
|
+
<TR>
|
16
|
+
<TD> <A HREF="options.htm#M-background">-background or -bg</A></TD>
|
17
|
+
<TD> <A HREF="options.htm#M-borderwidth">-borderwidth or -bd</A></TD>
|
18
|
+
</TR>
|
19
|
+
<TR>
|
20
|
+
<TD> <A HREF="options.htm#M-font">-font</A></TR>
|
21
|
+
<TD> <A HREF="options.htm#M-foreground">-foreground or -fg</A></TD>
|
22
|
+
</TR>
|
23
|
+
<TR>
|
24
|
+
<TD> <A HREF="options.htm#M-relief">-relief</A></TR>
|
25
|
+
<TD> <A HREF="options.htm#M-text">-text</A></TR>
|
26
|
+
</TR>
|
27
|
+
</TABLE></DD>
|
28
|
+
</DL>
|
29
|
+
<DL>
|
30
|
+
<DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
|
31
|
+
<DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
|
32
|
+
<TR>
|
33
|
+
<TD> <A HREF="#-baseline">-baseline</A></TR>
|
34
|
+
<TD> <A HREF="#-ipad">-ipad</A></TR>
|
35
|
+
</TR>
|
36
|
+
<TR>
|
37
|
+
<TD> <A HREF="#-side">-side</A></TR>
|
38
|
+
</TABLE></DD>
|
39
|
+
</DL>
|
40
|
+
<DL>
|
41
|
+
<DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
|
42
|
+
<DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
|
43
|
+
<I>option</I>
|
44
|
+
</DD>
|
45
|
+
<DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
|
46
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
47
|
+
</DD>
|
48
|
+
<DD><I>pathName</I> <A HREF="#getframe"><B>getframe</B></A>
|
49
|
+
</DD>
|
50
|
+
</DL>
|
51
|
+
<BR><HR WIDTH="100%"><BR>
|
52
|
+
<B><A NAME="descr"></A>DESCRIPTION</B><BR>
|
53
|
+
<P>
|
54
|
+
|
55
|
+
TitleFrame enables user to create a frame with a title like XmFrame Motif widget.
|
56
|
+
</P>
|
57
|
+
<BR><HR WIDTH="50%"><BR>
|
58
|
+
<B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
|
59
|
+
<DL><DT><A NAME="-baseline"><B>-baseline</B></A></DT>
|
60
|
+
<DD>
|
61
|
+
|
62
|
+
Specifies the vertical alignment of the title: <B>top</B>, <B>center</B> or <B>bottom</B>.
|
63
|
+
</DD>
|
64
|
+
</DL>
|
65
|
+
<DL><DT><A NAME="-ipad"><B>-ipad</B></A></DT>
|
66
|
+
<DD>
|
67
|
+
|
68
|
+
Specifies a pad between the border of the frame and the user frame.
|
69
|
+
The value is in screen units.
|
70
|
+
</DD>
|
71
|
+
</DL>
|
72
|
+
<DL><DT><A NAME="-side"><B>-side</B></A></DT>
|
73
|
+
<DD>
|
74
|
+
|
75
|
+
Specifies the horizontal alignment of the title: <B>left</B>, <B>center</B> or <B>right</B>.
|
76
|
+
</DD>
|
77
|
+
</DL>
|
78
|
+
<HR WIDTH="50%"><BR>
|
79
|
+
<B><A NAME="wc">WIDGET COMMAND</A></B><BR>
|
80
|
+
<DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
|
81
|
+
<I>option</I>
|
82
|
+
</DT><DD>
|
83
|
+
|
84
|
+
Returns the current value of the configuration option given by <I>option</I>.
|
85
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
86
|
+
</DD></DL>
|
87
|
+
<DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
|
88
|
+
?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
|
89
|
+
</DT><DD>
|
90
|
+
|
91
|
+
Query or modify the configuration options of the widget. If no <I>option</I> is specified,
|
92
|
+
returns a list describing all of the available options for <I>pathName</I>.
|
93
|
+
If <I>option</I> is specified with no <I>value</I>, then the command returns a list
|
94
|
+
describing the one named <I>option</I> (this list will be identical to the corresponding
|
95
|
+
sublist of the value returned if no <I>option</I> is specified). If one or
|
96
|
+
more <I>option-value</I> pairs are specified, then the command modifies the given widget
|
97
|
+
option(s) to have the given value(s); in this case the command returns an empty string.
|
98
|
+
<I>Option</I> may have any of the values accepted by the creation command.
|
99
|
+
Read-only options are not be modified.
|
100
|
+
|
101
|
+
</DD></DL>
|
102
|
+
<DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A>
|
103
|
+
</DT><DD>
|
104
|
+
|
105
|
+
Return the frame where the user can create any other widget.
|
106
|
+
</DD></DL>
|
107
|
+
</BODY></HTML>
|