arcadia 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. data/README +126 -123
  2. data/arcadia.rb +770 -756
  3. data/base/a-contracts.rb +130 -93
  4. data/base/a-ext.rb +280 -280
  5. data/base/a-libs.rb +5 -11
  6. data/base/a-utils.rb +235 -44
  7. data/conf/arcadia.conf +20 -16
  8. data/conf/arcadia.init.rb +0 -0
  9. data/conf/arcadia.res.rb +74 -0
  10. data/ext/ae-complete-code/ae-complete-code.conf +0 -0
  11. data/ext/ae-complete-code/ae-complete-code.rb +80 -79
  12. data/ext/ae-debug/ae-debug.conf +0 -0
  13. data/ext/ae-debug/ae-debug.rb +2 -6
  14. data/ext/ae-debug/debug1.57.rb +0 -0
  15. data/ext/ae-doc-code/ae-doc-code.conf +15 -0
  16. data/ext/ae-doc-code/ae-doc-code.rb +289 -0
  17. data/ext/ae-editor/ae-editor.conf +17 -8
  18. data/ext/ae-editor/ae-editor.rb +738 -396
  19. data/ext/ae-event-log/ae-event-log.conf +0 -0
  20. data/ext/ae-event-log/ae-event-log.rb +0 -0
  21. data/ext/ae-file-history/ae-file-history.conf +2 -2
  22. data/ext/ae-file-history/ae-file-history.rb +286 -290
  23. data/ext/ae-inspector/ae-inspector.conf +0 -0
  24. data/ext/ae-inspector/ae-inspector.rb +0 -0
  25. data/ext/ae-output-event/ae-output-event.conf +2 -2
  26. data/ext/ae-output/ae-output.conf +2 -2
  27. data/ext/ae-output/ae-output.rb +173 -178
  28. data/ext/ae-palette/ae-palette.conf +0 -0
  29. data/ext/ae-palette/ae-palette.rb +0 -0
  30. data/ext/ae-shell/ae-shell.conf +0 -0
  31. data/ext/ae-shell/ae-shell.rb +54 -54
  32. data/lib/tk/al-tk.rb +3076 -3082
  33. data/lib/tk/al-tk.res.rb +0 -0
  34. data/lib/tk/al-tkarcadia.rb +0 -0
  35. data/lib/tk/al-tkcustom.rb +0 -0
  36. data/lib/tkext/al-bwidget.rb +0 -0
  37. data/lib/tkext/al-iwidgets.rb +0 -0
  38. data/lib/tkext/al-tile.rb +0 -0
  39. data/lib/tkext/al-tktable.rb +0 -0
  40. data/tcl/BWidget-1.8.0/BWman/ArrowButton.html +276 -0
  41. data/tcl/BWidget-1.8.0/BWman/BWidget.html +228 -0
  42. data/tcl/BWidget-1.8.0/BWman/Button.html +273 -0
  43. data/tcl/BWidget-1.8.0/BWman/ButtonBox.html +264 -0
  44. data/tcl/BWidget-1.8.0/BWman/ComboBox.html +402 -0
  45. data/tcl/BWidget-1.8.0/BWman/Dialog.html +314 -0
  46. data/tcl/BWidget-1.8.0/BWman/DragSite.html +139 -0
  47. data/tcl/BWidget-1.8.0/BWman/DropSite.html +254 -0
  48. data/tcl/BWidget-1.8.0/BWman/DynamicHelp.html +248 -0
  49. data/tcl/BWidget-1.8.0/BWman/Entry.html +341 -0
  50. data/tcl/BWidget-1.8.0/BWman/Label.html +331 -0
  51. data/tcl/BWidget-1.8.0/BWman/LabelEntry.html +194 -0
  52. data/tcl/BWidget-1.8.0/BWman/LabelFrame.html +144 -0
  53. data/tcl/BWidget-1.8.0/BWman/ListBox.html +678 -0
  54. data/tcl/BWidget-1.8.0/BWman/MainFrame.html +283 -0
  55. data/tcl/BWidget-1.8.0/BWman/MessageDlg.html +218 -0
  56. data/tcl/BWidget-1.8.0/BWman/NoteBook.html +374 -0
  57. data/tcl/BWidget-1.8.0/BWman/PagesManager.html +180 -0
  58. data/tcl/BWidget-1.8.0/BWman/PanedWindow.html +142 -0
  59. data/tcl/BWidget-1.8.0/BWman/PanelFrame.html +153 -0
  60. data/tcl/BWidget-1.8.0/BWman/PasswdDlg.html +214 -0
  61. data/tcl/BWidget-1.8.0/BWman/ProgressBar.html +152 -0
  62. data/tcl/BWidget-1.8.0/BWman/ProgressDlg.html +145 -0
  63. data/tcl/BWidget-1.8.0/BWman/ScrollView.html +130 -0
  64. data/tcl/BWidget-1.8.0/BWman/ScrollableFrame.html +191 -0
  65. data/tcl/BWidget-1.8.0/BWman/ScrolledWindow.html +116 -0
  66. data/tcl/BWidget-1.8.0/BWman/SelectColor.html +164 -0
  67. data/tcl/BWidget-1.8.0/BWman/SelectFont.html +152 -0
  68. data/tcl/BWidget-1.8.0/BWman/Separator.html +77 -0
  69. data/tcl/BWidget-1.8.0/BWman/SpinBox.html +250 -0
  70. data/tcl/BWidget-1.8.0/BWman/StatusBar.html +147 -0
  71. data/tcl/BWidget-1.8.0/BWman/TitleFrame.html +107 -0
  72. data/tcl/BWidget-1.8.0/BWman/Tree.html +947 -0
  73. data/tcl/BWidget-1.8.0/BWman/Widget.html +502 -0
  74. data/tcl/BWidget-1.8.0/BWman/contents.html +84 -0
  75. data/tcl/BWidget-1.8.0/BWman/index.html +7 -0
  76. data/tcl/BWidget-1.8.0/BWman/navtree.html +41 -0
  77. data/tcl/BWidget-1.8.0/BWman/options.htm +458 -0
  78. data/tcl/BWidget-1.8.0/CHANGES.txt +266 -0
  79. data/tcl/BWidget-1.8.0/ChangeLog +1641 -0
  80. data/tcl/BWidget-1.8.0/LICENSE.txt +41 -0
  81. data/tcl/BWidget-1.8.0/README.txt +127 -0
  82. data/tcl/BWidget-1.8.0/arrow.tcl +551 -0
  83. data/tcl/BWidget-1.8.0/bitmap.tcl +94 -0
  84. data/tcl/BWidget-1.8.0/button.tcl +324 -0
  85. data/tcl/BWidget-1.8.0/buttonbox.tcl +403 -0
  86. data/tcl/BWidget-1.8.0/color.tcl +493 -0
  87. data/tcl/BWidget-1.8.0/combobox.tcl +809 -0
  88. data/tcl/BWidget-1.8.0/demo/basic.tcl +199 -0
  89. data/tcl/BWidget-1.8.0/demo/bwidget.xbm +46 -0
  90. data/tcl/BWidget-1.8.0/demo/demo.tcl +212 -0
  91. data/tcl/BWidget-1.8.0/demo/dnd.tcl +42 -0
  92. data/tcl/BWidget-1.8.0/demo/manager.tcl +141 -0
  93. data/tcl/BWidget-1.8.0/demo/select.tcl +59 -0
  94. data/tcl/BWidget-1.8.0/demo/tmpldlg.tcl +214 -0
  95. data/tcl/BWidget-1.8.0/demo/tree.tcl +260 -0
  96. data/tcl/BWidget-1.8.0/demo/x1.xbm +2258 -0
  97. data/tcl/BWidget-1.8.0/dialog.tcl +345 -0
  98. data/tcl/BWidget-1.8.0/dragsite.tcl +197 -0
  99. data/tcl/BWidget-1.8.0/dropsite.tcl +455 -0
  100. data/tcl/BWidget-1.8.0/dynhelp.tcl +625 -0
  101. data/tcl/BWidget-1.8.0/entry.tcl +469 -0
  102. data/tcl/BWidget-1.8.0/font.tcl +566 -0
  103. data/tcl/BWidget-1.8.0/images/bold.gif +0 -0
  104. data/tcl/BWidget-1.8.0/images/copy.gif +0 -0
  105. data/tcl/BWidget-1.8.0/images/cut.gif +0 -0
  106. data/tcl/BWidget-1.8.0/images/dragfile.gif +0 -0
  107. data/tcl/BWidget-1.8.0/images/dragicon.gif +0 -0
  108. data/tcl/BWidget-1.8.0/images/error.gif +0 -0
  109. data/tcl/BWidget-1.8.0/images/file.gif +0 -0
  110. data/tcl/BWidget-1.8.0/images/folder.gif +0 -0
  111. data/tcl/BWidget-1.8.0/images/hourglass.gif +0 -0
  112. data/tcl/BWidget-1.8.0/images/info.gif +0 -0
  113. data/tcl/BWidget-1.8.0/images/italic.gif +0 -0
  114. data/tcl/BWidget-1.8.0/images/minus.xbm +5 -0
  115. data/tcl/BWidget-1.8.0/images/new.gif +0 -0
  116. data/tcl/BWidget-1.8.0/images/opcopy.xbm +5 -0
  117. data/tcl/BWidget-1.8.0/images/open.gif +0 -0
  118. data/tcl/BWidget-1.8.0/images/openfold.gif +0 -0
  119. data/tcl/BWidget-1.8.0/images/oplink.xbm +5 -0
  120. data/tcl/BWidget-1.8.0/images/opmove.xbm +5 -0
  121. data/tcl/BWidget-1.8.0/images/overstrike.gif +0 -0
  122. data/tcl/BWidget-1.8.0/images/palette.gif +0 -0
  123. data/tcl/BWidget-1.8.0/images/passwd.gif +0 -0
  124. data/tcl/BWidget-1.8.0/images/paste.gif +0 -0
  125. data/tcl/BWidget-1.8.0/images/plus.xbm +5 -0
  126. data/tcl/BWidget-1.8.0/images/print.gif +0 -0
  127. data/tcl/BWidget-1.8.0/images/question.gif +0 -0
  128. data/tcl/BWidget-1.8.0/images/redo.gif +0 -0
  129. data/tcl/BWidget-1.8.0/images/save.gif +0 -0
  130. data/tcl/BWidget-1.8.0/images/target.xbm +9 -0
  131. data/tcl/BWidget-1.8.0/images/underline.gif +0 -0
  132. data/tcl/BWidget-1.8.0/images/undo.gif +0 -0
  133. data/tcl/BWidget-1.8.0/images/warning.gif +0 -0
  134. data/tcl/BWidget-1.8.0/init.tcl +40 -0
  135. data/tcl/BWidget-1.8.0/label.tcl +271 -0
  136. data/tcl/BWidget-1.8.0/labelentry.tcl +100 -0
  137. data/tcl/BWidget-1.8.0/labelframe.tcl +160 -0
  138. data/tcl/BWidget-1.8.0/lang/da.rc +52 -0
  139. data/tcl/BWidget-1.8.0/lang/de.rc +52 -0
  140. data/tcl/BWidget-1.8.0/lang/en.rc +52 -0
  141. data/tcl/BWidget-1.8.0/lang/es.rc +53 -0
  142. data/tcl/BWidget-1.8.0/lang/fr.rc +52 -0
  143. data/tcl/BWidget-1.8.0/listbox.tcl +1638 -0
  144. data/tcl/BWidget-1.8.0/mainframe.tcl +711 -0
  145. data/tcl/BWidget-1.8.0/messagedlg.tcl +128 -0
  146. data/tcl/BWidget-1.8.0/notebook.tcl +1164 -0
  147. data/tcl/BWidget-1.8.0/pagesmgr.tcl +294 -0
  148. data/tcl/BWidget-1.8.0/panedw.tcl +381 -0
  149. data/tcl/BWidget-1.8.0/panelframe.tcl +246 -0
  150. data/tcl/BWidget-1.8.0/passwddlg.tcl +178 -0
  151. data/tcl/BWidget-1.8.0/pkgIndex.tcl +47 -0
  152. data/tcl/BWidget-1.8.0/progressbar.tcl +208 -0
  153. data/tcl/BWidget-1.8.0/progressdlg.tcl +87 -0
  154. data/tcl/BWidget-1.8.0/scrollframe.tcl +226 -0
  155. data/tcl/BWidget-1.8.0/scrollview.tcl +254 -0
  156. data/tcl/BWidget-1.8.0/scrollw.tcl +280 -0
  157. data/tcl/BWidget-1.8.0/separator.tcl +75 -0
  158. data/tcl/BWidget-1.8.0/spinbox.tcl +331 -0
  159. data/tcl/BWidget-1.8.0/statusbar.tcl +422 -0
  160. data/tcl/BWidget-1.8.0/tests/entry.test +173 -0
  161. data/tcl/BWidget-1.8.0/titleframe.tcl +170 -0
  162. data/tcl/BWidget-1.8.0/tree.tcl +2228 -0
  163. data/tcl/BWidget-1.8.0/utils.tcl +645 -0
  164. data/tcl/BWidget-1.8.0/widget.tcl +1576 -0
  165. data/tcl/BWidget-1.8.0/wizard.tcl +1028 -0
  166. data/tcl/BWidget-1.8.0/xpm2image.tcl +115 -0
  167. metadata +141 -5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,276 @@
1
+ <HTML>
2
+ <HEAD><TITLE>ArrowButton</TITLE></HEAD>
3
+ <BODY BGCOLOR=white>
4
+ <DL><DT><I><A HREF="#descr">NAME</A></I></DT>
5
+ <DD><B>ArrowButton</B>
6
+ - Button widget with an arrow shape.
7
+ </DD></DL>
8
+ <DL>
9
+ <DT><I>CREATION</I></DT>
10
+ <DD><A HREF="#descr"><B>ArrowButton</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>&nbsp;&nbsp;<A HREF="options.htm#M-activebackground">-activebackground</A></TR>
17
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-activeforeground">-activeforeground</A></TR>
18
+ </TR>
19
+ <TR>
20
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-background">-background or -bg</A></TD>
21
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-borderwidth">-borderwidth or -bd</A></TD>
22
+ </TR>
23
+ <TR>
24
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-disabledforeground">-disabledforeground</A></TR>
25
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-foreground">-foreground or -fg</A></TD>
26
+ </TR>
27
+ <TR>
28
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-highlightbackground">-highlightbackground</A></TR>
29
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-highlightcolor">-highlightcolor</A></TR>
30
+ </TR>
31
+ <TR>
32
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-highlightthickness">-highlightthickness</A></TR>
33
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-relief">-relief</A></TR>
34
+ </TR>
35
+ <TR>
36
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-repeatdelay">-repeatdelay</A></TR>
37
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-repeatinterval">-repeatinterval</A></TR>
38
+ </TR>
39
+ <TR>
40
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-takefocus">-takefocus</A></TR>
41
+ <TD>&nbsp;&nbsp;<A HREF="options.htm#M-troughcolor">-troughcolor</A></TR>
42
+ </TR>
43
+ </TABLE></DD>
44
+ </DL>
45
+ <DL>
46
+ <DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
47
+ <DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
48
+ <TR>
49
+ <TD>&nbsp;&nbsp;<A HREF="#-armcommand">-armcommand</A></TR>
50
+ <TD>&nbsp;&nbsp;<A HREF="#-arrowbd">-arrowbd</A></TR>
51
+ </TR>
52
+ <TR>
53
+ <TD>&nbsp;&nbsp;<A HREF="#-arrowrelief">-arrowrelief</A></TR>
54
+ <TD>&nbsp;&nbsp;<A HREF="#-clean">-clean</A></TR>
55
+ </TR>
56
+ <TR>
57
+ <TD>&nbsp;&nbsp;<A HREF="#-command">-command</A></TR>
58
+ <TD>&nbsp;&nbsp;<A HREF="#-dir">-dir</A></TR>
59
+ </TR>
60
+ <TR>
61
+ <TD>&nbsp;&nbsp;<A HREF="#-disarmcommand">-disarmcommand</A></TR>
62
+ <TD>&nbsp;&nbsp;<A HREF="#-height">-height</A></TR>
63
+ </TR>
64
+ <TR>
65
+ <TD>&nbsp;&nbsp;<A HREF="#-helptext">-helptext</A></TR>
66
+ <TD>&nbsp;&nbsp;<A HREF="#-helptype">-helptype</A></TR>
67
+ </TR>
68
+ <TR>
69
+ <TD>&nbsp;&nbsp;<A HREF="#-helpvar">-helpvar</A></TR>
70
+ <TD>&nbsp;&nbsp;<A HREF="#-ipadx">-ipadx</A></TR>
71
+ </TR>
72
+ <TR>
73
+ <TD>&nbsp;&nbsp;<A HREF="#-ipady">-ipady</A></TR>
74
+ <TD>&nbsp;&nbsp;<A HREF="#-state">-state</A></TR>
75
+ </TR>
76
+ <TR>
77
+ <TD>&nbsp;&nbsp;<A HREF="#-type">-type</A></TR>
78
+ <TD>&nbsp;&nbsp;<A HREF="#-width">-width</A></TR>
79
+ </TR>
80
+ </TABLE></DD>
81
+ </DL>
82
+ <DL>
83
+ <DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
84
+ <DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
85
+ <I>option</I>
86
+ </DD>
87
+ <DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
88
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
89
+ </DD>
90
+ <DD><I>pathName</I> <A HREF="#invoke"><B>invoke</B></A>
91
+ </DD>
92
+ </DL>
93
+ <BR><HR WIDTH="100%"><BR>
94
+ <B><A NAME="descr"></A>DESCRIPTION</B><BR>
95
+ <P>
96
+
97
+ ArrowButton can be of two types following <B>type</B> option:
98
+ for <B>button</B> type, it is standard button with an arrow drawn on it;
99
+ for <B>arrow</B> type, it is an arrow like scrollbar's arrow.
100
+ </P>
101
+ <BR><HR WIDTH="50%"><BR>
102
+ <B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
103
+ <DL><DT><A NAME="-armcommand"><B>-armcommand</B></A></DT>
104
+ <DD>
105
+
106
+ Specifies a Tcl command to associate with the ArrowButton when mouse button 1 is pressed
107
+ over the ArrowButton. When <B>repeatdelay</B> or <B>repeatinterval</B> option is positive
108
+ integer, this command is repeatedly called if mouse pointer is over the button and until
109
+ mouse button 1 is released.
110
+ </DD>
111
+ </DL>
112
+ <DL><DT><A NAME="-arrowbd"><B>-arrowbd</B></A></DT>
113
+ <DD>
114
+
115
+ When ArrowButton <B>type</B> is <I>arrow</I>, specifies the border width of the
116
+ arrow. Must be 1 or 2.
117
+
118
+ </DD>
119
+ </DL>
120
+ <DL><DT><A NAME="-arrowrelief"><B>-arrowrelief</B></A></DT>
121
+ <DD>
122
+
123
+ When ArrowButton <B>type</B> is <I>arrow</I>, specifies the relief of the arrow.
124
+ Must be <B>raised</B> or <B>sunken</B>.
125
+
126
+ </DD>
127
+ </DL>
128
+ <DL><DT><A NAME="-clean"><B>-clean</B></A></DT>
129
+ <DD>
130
+
131
+ Specifies a level of quality, between 0 and 2, for the arrow.
132
+ If 0, the arrow is drawn with its maximum width and height.
133
+ If 1, the base of arrow is arranged to be odd to have same edges.
134
+ If 2, the base of arrow is arranged to be odd and the orthogonal to be (base+1)/2 to
135
+ have 'straight' diagonal for edges.
136
+ </DD>
137
+ </DL>
138
+ <DL><DT><A NAME="-command"><B>-command</B></A></DT>
139
+ <DD>
140
+
141
+ Specifies a Tcl command to associate with the ArrowButton. This command
142
+ is typically invoked when mouse button 1 is released over the ArrowButton
143
+ window.
144
+ </DD>
145
+ </DL>
146
+ <DL><DT><A NAME="-dir"><B>-dir</B></A></DT>
147
+ <DD>
148
+
149
+ Specifies the direction of the arrow: <B>top</B>, <B>bottom</B>, <B>left</B>
150
+ or <B>right</B>.
151
+ </DD>
152
+ </DL>
153
+ <DL><DT><A NAME="-disarmcommand"><B>-disarmcommand</B></A></DT>
154
+ <DD>
155
+
156
+ Specifies a Tcl command to associate with the ArrowButton when mouse button 1 is released.
157
+ This command is called even if pointer is not over the ArrowButton, and always before
158
+ the command specified by <B>command</B> option.
159
+ It is typically used in conjuntion with <B>armcommand</B>, <B>repeatdelay</B> and
160
+ <B>repeatinterval</B>.
161
+ </DD>
162
+ </DL>
163
+ <DL><DT><A NAME="-height"><B>-height</B></A></DT>
164
+ <DD>
165
+
166
+ Specifies a desired height for the ArrowButton. The value is in screen units.
167
+ </DD>
168
+ </DL>
169
+ <DL><DT><A NAME="-helptext"><B>-helptext</B></A></DT>
170
+ <DD>
171
+
172
+ Text for dynamic help. If empty, no help is available for this widget.
173
+ See also <A HREF="DynamicHelp.html">DynamicHelp</A>.
174
+ </DD>
175
+ </DL>
176
+ <DL><DT><A NAME="-helptype"><B>-helptype</B></A></DT>
177
+ <DD>
178
+ Type of dynamic help. Use <I>balloon</I> or <I>variable</I>.
179
+ See also <A HREF="DynamicHelp.html">DynamicHelp</A>.
180
+ </DD>
181
+ </DL>
182
+ <DL><DT><A NAME="-helpvar"><B>-helpvar</B></A></DT>
183
+ <DD>
184
+ Variable to use when <B>helptype</B> option is <I>variable</I>.
185
+ See also <A HREF="DynamicHelp.html">DynamicHelp</A>.
186
+ </DD>
187
+ </DL>
188
+ <DL><DT><A NAME="-ipadx"><B>-ipadx</B></A></DT>
189
+ <DD>
190
+
191
+ Specifies a minimun pad between the ArrowButton border and the right and left side
192
+ of the arrow. The value is in screen units.
193
+ </DD>
194
+ </DL>
195
+ <DL><DT><A NAME="-ipady"><B>-ipady</B></A></DT>
196
+ <DD>
197
+
198
+ Specifies a minimun pad between the ArrowButton border and the top and bottom side
199
+ of the arrow. The value is in screen units.
200
+ </DD>
201
+ </DL>
202
+ <DL><DT><A NAME="-state"><B>-state</B></A></DT>
203
+ <DD>
204
+
205
+ Specifies one of three states for the ArrowButton: <B>normal</B>, <B>active</B>,
206
+ or <B>disabled</B>.
207
+ <DL><DT>If ArrowButton <B>type</B> is <I>button</I>:</DT>
208
+ <DD>In normal state the ArrowButton is displayed using the
209
+ <B>foreground</B> and <B>background</B> options. The active state is
210
+ typically used when the pointer is over the ArrowButton. In active state
211
+ the ArrowButton is displayed using the <B>activeforeground</B> and
212
+ <B>activebackground</B> options. In disabled state the <B>disabledforeground</B> and
213
+ <B>background</B> options determine how the ArrowButton is displayed.
214
+ </DD>
215
+ <DT>If ArrowButton <B>type</B> is <I>arrow</I>:</DT>
216
+ <DD>Only colors of arrow change. The background of ArrowButton is always
217
+ displayed using <B>troughcolor</B> option.
218
+ In normal state the ArrowButton is displayed using the <B>background</B> option. The active
219
+ state is typically used when the pointer is over the ArrowButton. In active state
220
+ the ArrowButton is displayed using the <B>activebackground</B> option. In disabled state
221
+ the ArrowButton is displayed with a dark stipple.
222
+ </DD>
223
+ </DL>
224
+ Disabled state means that the ArrowButton
225
+ should be insensitive: the default bindings will refuse to activate
226
+ the widget and will ignore mouse button presses.
227
+ </DD>
228
+ </DL>
229
+ <DL><DT><A NAME="-type"><B>-type</B></A></DT>
230
+ <DD>
231
+
232
+ Determines the type of the ArrowButton: <B>button</B> for standard button look, or
233
+ <B>arrow</B> scrollbar's arrow look.
234
+ </DD>
235
+ </DL>
236
+ <DL><DT><A NAME="-width"><B>-width</B></A></DT>
237
+ <DD>
238
+
239
+ Specifies a desired width for the ArrowButton. The value is in screen units.
240
+ </DD>
241
+ </DL>
242
+ <HR WIDTH="50%"><BR>
243
+ <B><A NAME="wc">WIDGET COMMAND</A></B><BR>
244
+ <DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
245
+ <I>option</I>
246
+ </DT><DD>
247
+
248
+ Returns the current value of the configuration option given by <I>option</I>.
249
+ <I>Option</I> may have any of the values accepted by the creation command.
250
+ </DD></DL>
251
+ <DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
252
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
253
+ </DT><DD>
254
+
255
+ Query or modify the configuration options of the widget. If no <I>option</I> is specified,
256
+ returns a list describing all of the available options for <I>pathName</I>.
257
+ If <I>option</I> is specified with no <I>value</I>, then the command returns a list
258
+ describing the one named <I>option</I> (this list will be identical to the corresponding
259
+ sublist of the value returned if no <I>option</I> is specified). If one or
260
+ more <I>option-value</I> pairs are specified, then the command modifies the given widget
261
+ option(s) to have the given value(s); in this case the command returns an empty string.
262
+ <I>Option</I> may have any of the values accepted by the creation command.
263
+ Read-only options are not be modified.
264
+
265
+ </DD></DL>
266
+ <DL><DT><A NAME="invoke"><I>pathName</I> <B>invoke</B></A>
267
+ </DT><DD>
268
+
269
+ If ArrowButton <B>state</B> is not disabled, this invoke the commands of the button.
270
+ ArrowButton is redisplayed with active color and sunken relief, and
271
+ <B>armcommand</B> is called. Then ArrowButton is redisplayed with
272
+ normal color and its defined relief, and <B>disarmcommand</B> then <B>command</B>
273
+ are called.
274
+ <P><B>invoke</B> is called when ArrowButton has input focus and user press the space bar.
275
+ </DD></DL>
276
+ </BODY></HTML>
@@ -0,0 +1,228 @@
1
+ <HTML>
2
+ <HEAD><TITLE>BWidget</TITLE></HEAD>
3
+ <BODY BGCOLOR=white>
4
+ <IMG SRC="constr.gif" WIDTH="40" HEIGHT="40"> Under construction ...<BR>
5
+ <DL><DT><I><A HREF="#descr">NAME</A></I></DT>
6
+ <DD><B>BWidget</B>
7
+ - Description text
8
+ </DD></DL>
9
+ <DL>
10
+ <DT><I><A HREF="#wc">COMMAND</A></I></DT>
11
+ <DD>BWidget::<A HREF="#XLFDfont"><B>XLFDfont</B></A>
12
+ <I>cmd</I>
13
+ ?<I>arg...</I>?
14
+ </DD>
15
+ <DD>BWidget::<A HREF="#assert"><B>assert</B></A>
16
+ <I>exp</I>
17
+ ?<I>msg</I>?
18
+ </DD>
19
+ <DD>BWidget::<A HREF="#badOptionString"><B>badOptionString</B></A>
20
+ <I>type</I>
21
+ <I>value</I>
22
+ <I>list</I>
23
+ </DD>
24
+ <DD>BWidget::<A HREF="#bindMouseWheel"><B>bindMouseWheel</B></A>
25
+ <I>widget</I>
26
+ </DD>
27
+ <DD>BWidget::<A HREF="#classes"><B>classes</B></A>
28
+ <I>class</I>
29
+ </DD>
30
+ <DD>BWidget::<A HREF="#clonename"><B>clonename</B></A>
31
+ <I>menu</I>
32
+ </DD>
33
+ <DD>BWidget::<A HREF="#focus"><B>focus</B></A>
34
+ <I>option</I>
35
+ <I>path</I>
36
+ </DD>
37
+ <DD>BWidget::<A HREF="#get3dcolor"><B>get3dcolor</B></A>
38
+ <I>path</I>
39
+ <I>bgcolor</I>
40
+ </DD>
41
+ <DD>BWidget::<A HREF="#getname"><B>getname</B></A>
42
+ <I>name</I>
43
+ </DD>
44
+ <DD>BWidget::<A HREF="#grab"><B>grab</B></A>
45
+ <I>option</I>
46
+ <I>path</I>
47
+ </DD>
48
+ <DD>BWidget::<A HREF="#inuse"><B>inuse</B></A>
49
+ <I>class</I>
50
+ </DD>
51
+ <DD>BWidget::<A HREF="#library"><B>library</B></A>
52
+ <I>class</I> ?<i>class ...</i>?
53
+ </DD>
54
+ <DD>BWidget::<A HREF="#lreorder"><B>lreorder</B></A>
55
+ <I>list</I>
56
+ <I>neworder</I>
57
+ </DD>
58
+ <DD>BWidget::<A HREF="#parsetext"><B>parsetext</B></A>
59
+ <I>text</I>
60
+ </DD>
61
+ <DD>BWidget::<A HREF="#place"><B>place</B></A>
62
+ <I>path</I>
63
+ <I>w</I>
64
+ <I>h</I>
65
+ ?<I>arg...</I>?
66
+ </DD>
67
+ <DD>BWidget::<A HREF="#write"><B>write</B></A>
68
+ <I>filename</I> ?<i>mode</i>?
69
+ </DD>
70
+ <DD>BWidget::<A HREF="#wrongNumArgsString"><B>wrongNumArgsString</B></A>
71
+ <I>string</I>
72
+ </DD>
73
+ </DL>
74
+ <BR><HR WIDTH="100%"><BR>
75
+ <B><A NAME="descr"></A>DESCRIPTION</B><BR>
76
+ <P>
77
+ Description text
78
+ </P>
79
+ <HR WIDTH="50%"><BR>
80
+ <B><A NAME="wc">COMMAND</A></B><BR>
81
+ <DL><DT><A NAME="XLFDfont">BWidget::<B>XLFDfont</B></A>
82
+ <I>cmd</I>
83
+ ?<I>arg...</I>?
84
+ </DT><DD>
85
+ Description text
86
+ </DD></DL>
87
+ <DL><DT><A NAME="assert">BWidget::<B>assert</B></A>
88
+ <I>exp</I>
89
+ ?<I>msg</I>?
90
+ </DT><DD>
91
+ Description text
92
+ </DD></DL>
93
+ <DL><DT><A NAME="badOptionString">BWidget::<B>badOptionString</B></A>
94
+ <I>type</I>
95
+ <I>value</I>
96
+ <I>list</I>
97
+ </DT><DD>
98
+ Return a proper error string for a <i>value</i> of <i>type</i> that doesn't
99
+ match <i>list</i>.
100
+ </DD></DL>
101
+
102
+ <DL><DT><A NAME="bindMouseWheel">BWidget::<B>bindMouseWheel</B></A>
103
+ <I>widget</I>
104
+ </DT><DD>
105
+ Bind the given <i>widget</i> with the standard mouse wheel bindings.
106
+ </DD></DL>
107
+
108
+ <DL><DT><A NAME="classes">BWidget::<B>classes</B></A>
109
+ <I>class</I>
110
+ </DT><DD>
111
+ Returns a list of classes needed by the given <i>class</i>.
112
+ </DD></DL>
113
+
114
+ <DL><DT><A NAME="clonename">BWidget::<B>clonename</B></A>
115
+ <I>menu</I>
116
+ </DT><DD>
117
+ Description text
118
+ </DD></DL>
119
+ <DL><DT><A NAME="focus">BWidget::<B>focus</B></A>
120
+ <I>option</I>
121
+ <I>path</I>
122
+ </DT><DD>
123
+ Description text
124
+ </DD></DL>
125
+ <DL><DT><A NAME="get3dcolor">BWidget::<B>get3dcolor</B></A>
126
+ <I>path</I>
127
+ <I>bgcolor</I>
128
+ </DT><DD>
129
+ Description text
130
+ </DD></DL>
131
+ <DL><DT><A NAME="getname">BWidget::<B>getname</B></A>
132
+ <I>name</I>
133
+ </DT><DD>
134
+ Description text
135
+ </DD></DL>
136
+ <DL><DT><A NAME="grab">BWidget::<B>grab</B></A>
137
+ <I>option</I>
138
+ <I>path</I>
139
+ </DT><DD>
140
+ Description text
141
+ </DD></DL>
142
+
143
+ <DL><DT><A NAME="inuse">BWidget::<B>inuse</B></A>
144
+ <I>class</I>
145
+ </DT><DD>
146
+ Returns true or false if the given <i>class</i> is being used by the
147
+ current running program.
148
+ </DD></DL>
149
+
150
+ <DL><DT><A NAME="library">BWidget::<B>library</B></A>
151
+ <I>class</I>
152
+ ?<i>class ...</i>?
153
+ </DT><DD>
154
+ Returns a string of code that contains all the libraries needed to
155
+ use the widgets given by <i>class</i>. Each class's code and the
156
+ code of its dependent classes is appended to the string and returned.
157
+ This is mostly useful for saving BWidgets to another project.
158
+ </DD></DL>
159
+
160
+ <DL><DT><A NAME="lreorder">BWidget::<B>lreorder</B></A>
161
+ <I>list</I>
162
+ <I>neworder</I>
163
+ </DT><DD>
164
+ Description text
165
+ </DD></DL>
166
+ <DL><DT><A NAME="parsetext">BWidget::<B>parsetext</B></A>
167
+ <I>text</I>
168
+ </DT><DD>
169
+ Description text
170
+ </DD></DL>
171
+ <DL><DT><A NAME="place">BWidget::<B>place</B></A>
172
+ <I>path</I>
173
+ <I>w</I>
174
+ <I>h</I>
175
+ ?<I>arg...</I>?
176
+ </DT><DD>
177
+ Used to position and resise the widget specified by
178
+ <I>path</I>. <I>w</I> and <I>h</I> are used to specify the requested
179
+ width and height of the <I>path</I> widget for use by <B>wm
180
+ geometry</B>. The placement of the widget relative to other widgets or
181
+ the screen is controlled by additional arguments:
182
+ <DL>
183
+ <DT><B>at</B> <I>x</I> <I>y</I></DT>
184
+ <DD>Place the widget specified by the <I>path</I> argument at screen
185
+ position x,y. See <B>wm geometry</B> for information about window
186
+ placement values.</DD>
187
+
188
+ <DT><B>center</B> <I>?widget?</I></DT>
189
+ <DD>Place the <I>path</I> widget centered against <I>widget</I> or against the
190
+ root widget if <I>widget</I> is not given.</DD>
191
+
192
+ <DT><B>left</B> <I>?widget?</I></DT>
193
+ <DT><B>right</B> <I>?widget?</I></DT>
194
+ <DD>Place the <I>path</I> widget either left or right of the
195
+ reference widget (or the root widget if <I>widget</I> is not
196
+ specified). If the reference widget's position is such that the newly
197
+ placed window might be obscured then the opposite side will be tried.</DD>
198
+
199
+ <DT><B>above</B> <I>?widget?</I></DT>
200
+ <DT><B>below</B> <I>?widget?</I></DT>
201
+ <DD>As for left/right above, this option causes the widget to be
202
+ placed either above or below the reference widget with the opposite
203
+ placement being attempted if the newly placed widget will not be visible.
204
+ </DL>
205
+ </DL>
206
+
207
+ <DL><DT><A NAME="write">BWidget::<B>write</B></A>
208
+ <I>filename</I>
209
+ ?<i>mode</i>?
210
+ </DT><DD>
211
+ Writes the currently used set of BWidget class code to the given
212
+ <i>filename</i>. All the code necessary to run the BWidgets
213
+ currently in use is written to the file. This is mostly useful
214
+ for saving BWidget code to another project as a single file instead
215
+ of the entire BWidget package.
216
+ </DD></DL>
217
+
218
+ <DL>
219
+ <DT><A NAME="wrongNumArgsString">BWidget::<B>wrongNumArgsString</B></A>
220
+ <I>string</I>
221
+ </DT>
222
+ <DD>
223
+ Returns a standard error string for the wrong number of arguments.
224
+ <i>string</i> is appended to the standard string.
225
+ </DD>
226
+ </DL>
227
+
228
+ </BODY></HTML>