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
@@ -0,0 +1,374 @@
1
+ <HTML>
2
+ <HEAD><TITLE>NoteBook</TITLE></HEAD>
3
+ <BODY BGCOLOR=white>
4
+ <DL><DT><I><A HREF="#descr">NAME</A></I></DT>
5
+ <DD><B>NoteBook</B>
6
+ - Notebook manager widget
7
+ </DD></DL>
8
+ <DL>
9
+ <DT><I>CREATION</I></DT>
10
+ <DD><A HREF="#descr"><B>NoteBook</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-font">-font</A></TR>
17
+ </TABLE></DD>
18
+ </DL>
19
+ <DL>
20
+ <DT><I><A HREF="ArrowButton.html">OPTIONS from <B>ArrowButton</B></A></I></DT>
21
+ <DD><TABLE CELLSPACING=0 CELLPADDING=0 BORDER=0>
22
+ <TR>
23
+ <TD>&nbsp;&nbsp;-activebackground</TD>
24
+ <TD>&nbsp;&nbsp;-activeforeground</TD>
25
+ </TR>
26
+ <TR>
27
+ <TD>&nbsp;&nbsp;-background or -bg</TD>
28
+ <TD>&nbsp;&nbsp;-borderwidth or -bd</TD>
29
+ </TR>
30
+ <TR>
31
+ <TD>&nbsp;&nbsp;-disabledforeground</TD>
32
+ <TD>&nbsp;&nbsp;-foreground or -fg</TD>
33
+ </TR>
34
+ <TR>
35
+ <TD>&nbsp;&nbsp;-repeatdelay</TD>
36
+ <TD>&nbsp;&nbsp;-repeatinterval</TD>
37
+ </TR>
38
+ </TABLE></DD>
39
+ </DL>
40
+ <DL>
41
+ <DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
42
+ <DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
43
+ <TR>
44
+ <TD>&nbsp;&nbsp;<A HREF="#-arcradius">-arcradius</A></TD>
45
+ <TD>&nbsp;&nbsp;<A HREF="#-height">-height</A></TD>
46
+ </TR>
47
+ <TR>
48
+ <TD>&nbsp;&nbsp;<A HREF="#-homogeneous">-homogeneous</A></TD>
49
+ <TD>&nbsp;&nbsp;<A HREF="#-side">-side</A></TD>
50
+ </TR>
51
+ <TR>
52
+ <TD>&nbsp;&nbsp;<A HREF="#-tabbevelsize">-tabbevelsize</A></TD>
53
+ <TD>&nbsp;&nbsp;<A HREF="#-tabpady">-tabpady</A></TD>
54
+ </TR>
55
+ <TR>
56
+ <TD>&nbsp;&nbsp;<A HREF="#-width">-width</A></TD>
57
+ </TR>
58
+ </TABLE></DD>
59
+ </DL>
60
+ <DL>
61
+ <DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
62
+ <DD><I>pathName</I> <A HREF="#bindtabs"><B>bindtabs</B></A>
63
+ <I>event</I>
64
+ <I>script</I>
65
+ </DD>
66
+ <DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
67
+ <I>option</I>
68
+ </DD>
69
+ <DD><I>pathName</I> <A HREF="#compute_size"><B>compute_size</B></A>
70
+ </DD>
71
+ <DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
72
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
73
+ </DD>
74
+ <DD><I>pathName</I> <A HREF="#delete"><B>delete</B></A>
75
+ <I>page</I>
76
+ ?<I>destroyframe</I>?
77
+ </DD>
78
+ <DD><I>pathName</I> <A HREF="#getframe"><B>getframe</B></A>
79
+ <I>page</I>
80
+ </DD>
81
+ <DD><I>pathName</I> <A HREF="#index"><B>index</B></A>
82
+ <I>page</I>
83
+ </DD>
84
+ <DD><I>pathName</I> <A HREF="#insert"><B>insert</B></A>
85
+ <I>index</I>
86
+ <I>page</I>
87
+ ?<I>option value...</I>?
88
+ </DD>
89
+ <DD><I>pathName</I> <A HREF="#itemcget"><B>itemcget</B></A>
90
+ <I>page</I>
91
+ <I>option</I>
92
+ </DD>
93
+ <DD><I>pathName</I> <A HREF="#itemconfigure"><B>itemconfigure</B></A>
94
+ <I>page</I>
95
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
96
+ </DD>
97
+ <DD><I>pathName</I> <A HREF="#move"><B>move</B></A>
98
+ <I>page</I>
99
+ <I>index</I>
100
+ </DD>
101
+ <DD><I>pathName</I> <A HREF="#page"><B>page</B></A>
102
+ <I>first</I>
103
+ ?<I>last</I>?
104
+ </DD>
105
+ <DD><I>pathName</I> <A HREF="#pages"><B>pages</B></A>
106
+ ?<I>first</I>?
107
+ ?<I>last</I>?
108
+ </DD>
109
+ <DD><I>pathName</I> <A HREF="#raise"><B>raise</B></A>
110
+ ?<I>page</I>?
111
+ </DD>
112
+ <DD><I>pathName</I> <A HREF="#see"><B>see</B></A>
113
+ <I>page</I>
114
+ </DD>
115
+ </DL>
116
+ <BR><HR WIDTH="100%"><BR>
117
+ <B><A NAME="descr"></A>DESCRIPTION</B><BR>
118
+ <P>
119
+
120
+ NoteBook widget manage a set of pages and displays one of them.
121
+
122
+ </P>
123
+ <BR><HR WIDTH="50%"><BR>
124
+ <B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
125
+ <DL><DT><A NAME="-arcradius"><B>-arcradius</B></A></DT>
126
+ <DD>
127
+
128
+ Specifies the amount of rounding effect at the corners of a tab. This value
129
+ can be adjusted from 0 to 8 pixels with the default being 2 pixels. Usually,
130
+ small values are preferable.
131
+ </DD>
132
+ </DL>
133
+ <DL><DT><A NAME="-height"><B>-height</B></A></DT>
134
+ <DD>
135
+
136
+ Specifies the desired height for the pages. If this option is equal to zero (the default)
137
+ then the window will not request any size at all.
138
+ In this case, user may want to call NoteBook::<B>compute_size</B> to make NoteBook larger
139
+ enough to contains the largest page.
140
+ </DD>
141
+ </DL>
142
+ <DL><DT><A NAME="-homogeneous"><B>-homogeneous</B></A></DT>
143
+ <DD>
144
+
145
+ Specifies wether or not the label of the pages must have the same width.
146
+
147
+ </DD>
148
+ </DL>
149
+ <DL><DT><A NAME="-side"><B>-side</B></A></DT>
150
+ <DD>
151
+
152
+ Specifies the side where to place the label of the pages. Must be one
153
+ of <B>top</B> or <B>bottom</B>.
154
+
155
+ </DD>
156
+ </DL>
157
+ <DL><DT><A NAME="-tabbevelsize"><B>-tabbevelsize</B></A></DT>
158
+ <DD>
159
+
160
+ Specifies the amount of bevel the tabs should have. This value can be adjusted from
161
+ 0 to 8 pixels with the default being 0 pixels. A zero pixel bevel is essentially rectangular
162
+ while non-zero bevel size will look trapezoidal.
163
+ </DD>
164
+ </DL>
165
+
166
+ <DL><DT><A NAME="-tabpady"><B>-tabpady</B></A></DT>
167
+ <DD>
168
+ Specifies the padding between the text in the tab and the top and bottom
169
+ of the tab. Padding may be a list of two values to specify padding for
170
+ top and bottom separately. Padding defaults to {0 6}.
171
+ </DD>
172
+ </DL>
173
+
174
+ <DL><DT><A NAME="-width"><B>-width</B></A></DT>
175
+ <DD>
176
+
177
+ Specifies the desired width for the pages. If this option is equal to zero (the default)
178
+ then the window will not request any size at all.
179
+ In this case, user may want to call NoteBook::<B>compute_size</B> to make NoteBook larger
180
+ enough to contains the largest page.
181
+ </DD>
182
+ </DL>
183
+ <HR WIDTH="50%"><BR>
184
+ <B><A NAME="wc">WIDGET COMMAND</A></B><BR>
185
+ <DL><DT><A NAME="bindtabs"><I>pathName</I> <B>bindtabs</B></A>
186
+ <I>event</I>
187
+ <I>script</I>
188
+ </DT><DD>
189
+
190
+ This command associates a command to execute whenever the event
191
+ sequence given by <I>event</I> occurs on a tab. The page identifier on which
192
+ the event occurs is appended to the command.
193
+
194
+ </DD></DL>
195
+ <DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
196
+ <I>option</I>
197
+ </DT><DD>
198
+
199
+ Returns the current value of the configuration option given by <I>option</I>.
200
+ <I>Option</I> may have any of the values accepted by the creation command.
201
+ </DD></DL>
202
+ <DL><DT><A NAME="compute_size"><I>pathName</I> <B>compute_size</B></A>
203
+ </DT><DD>
204
+
205
+ This command can be called to make the NoteBook large enough to contain the largest page.
206
+ Note that if all pages use -createcmd, they will have no requested size.
207
+
208
+ </DD></DL>
209
+ <DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
210
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
211
+ </DT><DD>
212
+
213
+ Query or modify the configuration options of the widget. If no <I>option</I> is specified,
214
+ returns a list describing all of the available options for <I>pathName</I>.
215
+ If <I>option</I> is specified with no <I>value</I>, then the command returns a list
216
+ describing the one named <I>option</I> (this list will be identical to the corresponding
217
+ sublist of the value returned if no <I>option</I> is specified). If one or
218
+ more <I>option-value</I> pairs are specified, then the command modifies the given widget
219
+ option(s) to have the given value(s); in this case the command returns an empty string.
220
+ <I>Option</I> may have any of the values accepted by the creation command.
221
+ Read-only options are not be modified.
222
+
223
+ </DD></DL>
224
+ <DL><DT><A NAME="delete"><I>pathName</I> <B>delete</B></A>
225
+ <I>page</I>
226
+ ?<I>destroyframe</I>?
227
+ </DT><DD>
228
+
229
+ Deletes the page <I>page</I>. If <I>destroyframe</I> is 1 (the default), the frame
230
+ associated to <I>page</I> is destroyed. If <I>destroyframe</I> is 0, the frame is not
231
+ destroyed and is reused by further call to <B>insert</B> with the same <I>page</I>.
232
+
233
+ </DD></DL>
234
+ <DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A>
235
+ <I>page</I>
236
+ </DT><DD>
237
+
238
+ Returns the pathname of the page <I>page</I>.
239
+
240
+ </DD></DL>
241
+ <DL><DT><A NAME="index"><I>pathName</I> <B>index</B></A>
242
+ <I>page</I>
243
+ </DT><DD>
244
+
245
+ Return the numerical index corresponding to the item.
246
+
247
+ </DD></DL>
248
+ <DL><DT><A NAME="insert"><I>pathName</I> <B>insert</B></A>
249
+ <I>index</I>
250
+ <I>page</I>
251
+ ?<I>option value...</I>?
252
+ </DT><DD>
253
+
254
+ Insert a new page idendified by <I>page</I> at position <I>index</I> in the pages list.
255
+ <I>index</I> must be numeric or <B>end</B>. The pathname of the new page is returned.
256
+
257
+ <P>
258
+ <DL><DT><A NAME="Page-createcmd"><B>-createcmd</B></A></DT>
259
+ <DD>
260
+
261
+ Specifies a command to be called the first time the page is raised.
262
+
263
+ </DD>
264
+ </DL>
265
+ <DL><DT><A NAME="Page-image"><B>-image</B></A></DT>
266
+ <DD>
267
+
268
+ Specifies an image to display for the page at the left of the label
269
+
270
+ </DD>
271
+ </DL>
272
+ <DL><DT><A NAME="Page-leavecmd"><B>-leavecmd</B></A></DT>
273
+ <DD>
274
+
275
+ Specifies a command to be called when a page is about to be leaved.
276
+ The command must return 0 if the page can not be leaved, or 1 if it can.
277
+
278
+ </DD>
279
+ </DL>
280
+ <DL><DT><A NAME="Page-raisecmd"><B>-raisecmd</B></A></DT>
281
+ <DD>
282
+
283
+ Specifies a command to be called each time the page is raised.
284
+
285
+ </DD>
286
+ </DL>
287
+ <DL><DT><A NAME="Page-state"><B>-state</B></A></DT>
288
+ <DD>
289
+
290
+ Specifies the state of the page. Must be <B>normal</B> or <B>disabled</B>.
291
+
292
+ </DD>
293
+ </DL>
294
+ <DL><DT><A NAME="Page-text"><B>-text</B></A></DT>
295
+ <DD>
296
+
297
+ Specifies a label to display for the page.
298
+
299
+ </DD>
300
+ </DL>
301
+ </DD></DL>
302
+ <DL><DT><A NAME="itemcget"><I>pathName</I> <B>itemcget</B></A>
303
+ <I>page</I>
304
+ <I>option</I>
305
+ </DT><DD>
306
+
307
+ Returns the current value of a configuration option for the item.
308
+ <I>Option</I> may have any of the values accepted by the item creation command.
309
+
310
+ </DD></DL>
311
+ <DL><DT><A NAME="itemconfigure"><I>pathName</I> <B>itemconfigure</B></A>
312
+ <I>page</I>
313
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
314
+ </DT><DD>
315
+
316
+ This command is similar to the <B>configure</B> command, except that it applies to the
317
+ options for an individual item, whereas <B>configure</B> applies to the options for
318
+ the widget as a whole. <B>Options</B> may have any of the values accepted by the
319
+ item creation widget command. If options are specified, options are modified as indicated
320
+ in the command and the command returns an empty string. If no options are specified,
321
+ returns a list describing the current options for the item.
322
+ Read-only options are not be modified.
323
+
324
+ </DD></DL>
325
+ <DL><DT><A NAME="move"><I>pathName</I> <B>move</B></A>
326
+ <I>page</I>
327
+ <I>index</I>
328
+ </DT><DD>
329
+
330
+ Moves <I>page</I> tab to index <I>index</I>.
331
+
332
+ </DD></DL>
333
+ <DL><DT><A NAME="page"><I>pathName</I> <B>page</B></A>
334
+ <I>first</I>
335
+ ?<I>last</I>?
336
+ </DT><DD>
337
+
338
+ <B>Its use is deprecated. Use <I>pages</I> instead.</B><BR>
339
+ If <I>last</I> is omitted, returns the page at index <I>first</I>, or an empty string if
340
+ <I>first</I> refers to a non-existent element. If <I>last</I> is specified, the command
341
+ returns a list whose elements are all of the pages between <I>first</I> and <I>last</I>,
342
+ inclusive. Both <I>first</I> and <I>last</I> may have any of the standard
343
+ forms for indices.
344
+
345
+ </DD></DL>
346
+ <DL><DT><A NAME="pages"><I>pathName</I> <B>pages</B></A>
347
+ ?<I>first</I>?
348
+ ?<I>last</I>?
349
+ </DT><DD>
350
+
351
+ If <I>first</I> and <I>last</I> are omitted, returns the list of all pages.
352
+ If <I>first</I> is specified and <I>last</I> omitted, returns the page at index
353
+ <I>first</I>, or an empty string if <I>first</I> refers to a non-existent element.
354
+ If <I>first</I> and <I>last</I> are specified, the command returns a list whose elements
355
+ are all of the pages between <I>first</I> and <I>last</I>,
356
+ inclusive. Both <I>first</I> and <I>last</I> may have any of the standard
357
+ forms for indices.
358
+
359
+ </DD></DL>
360
+ <DL><DT><A NAME="raise"><I>pathName</I> <B>raise</B></A>
361
+ ?<I>page</I>?
362
+ </DT><DD>
363
+
364
+ Raise the page <I>page</I>, or return the raised page if <I>page</I> is omitted.
365
+
366
+ </DD></DL>
367
+ <DL><DT><A NAME="see"><I>pathName</I> <B>see</B></A>
368
+ <I>page</I>
369
+ </DT><DD>
370
+
371
+ Scrolls labels to make the label of the page <I>page</I> visible.
372
+
373
+ </DD></DL>
374
+ </BODY></HTML>
@@ -0,0 +1,180 @@
1
+ <HTML>
2
+ <HEAD><TITLE>PagesManager</TITLE></HEAD>
3
+ <BODY BGCOLOR=white>
4
+ <DL><DT><I><A HREF="#descr">NAME</A></I></DT>
5
+ <DD><B>PagesManager</B>
6
+ - Pages manager widget
7
+ </DD></DL>
8
+ <DL>
9
+ <DT><I>CREATION</I></DT>
10
+ <DD><A HREF="#descr"><B>PagesManager</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-background">-background</A></TR>
17
+ </TABLE></DD>
18
+ </DL>
19
+ <DL>
20
+ <DT><I><A HREF="#wso">WIDGET-SPECIFIC OPTIONS</A></I></DT>
21
+ <DD><TABLE CELLSPACING=0 CELLSPACING=0 BORDER=0>
22
+ <TR>
23
+ <TD>&nbsp;&nbsp;<A HREF="#-height">-height</A></TR>
24
+ <TD>&nbsp;&nbsp;<A HREF="#-width">-width</A></TR>
25
+ </TR>
26
+ </TABLE></DD>
27
+ </DL>
28
+ <DL>
29
+ <DT><I><A HREF="#wc">WIDGET COMMAND</A></I></DT>
30
+ <DD><I>pathName</I> <A HREF="#add"><B>add</B></A>
31
+ <I>page</I>
32
+ </DD>
33
+ <DD><I>pathName</I> <A HREF="#cget"><B>cget</B></A>
34
+ <I>option</I>
35
+ </DD>
36
+ <DD><I>pathName</I> <A HREF="#compute_size"><B>compute_size</B></A>
37
+ </DD>
38
+ <DD><I>pathName</I> <A HREF="#configure"><B>configure</B></A>
39
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
40
+ </DD>
41
+ <DD><I>pathName</I> <A HREF="#delete"><B>delete</B></A>
42
+ <I>page</I>
43
+ </DD>
44
+ <DD><I>pathName</I> <A HREF="#getframe"><B>getframe</B></A>
45
+ <I>page</I>
46
+ </DD>
47
+ <DD><I>pathName</I> <A HREF="#page"><B>page</B></A>
48
+ <I>first</I>
49
+ ?<I>last</I>?
50
+ </DD>
51
+ <DD><I>pathName</I> <A HREF="#pages"><B>pages</B></A>
52
+ ?<I>first</I>?
53
+ ?<I>last</I>?
54
+ </DD>
55
+ <DD><I>pathName</I> <A HREF="#raise"><B>raise</B></A>
56
+ ?<I>page</I>?
57
+ </DD>
58
+ </DL>
59
+ <BR><HR WIDTH="100%"><BR>
60
+ <B><A NAME="descr"></A>DESCRIPTION</B><BR>
61
+ <P>
62
+
63
+ PagesManager widget manages a set of pages and displays one of them.
64
+ PagesManager does not provide any user access method, as NoteBook
65
+ does, so it can be done through a listbox, a menu, radiobutton, or
66
+ whatever. The widget shows no pages during creation; there must be an
67
+ explicit call to <B>raise</B> to display one.
68
+
69
+ </P>
70
+ <BR><HR WIDTH="50%"><BR>
71
+ <B><A NAME="wso">WIDGET-SPECIFIC OPTIONS</A></B><BR>
72
+ <DL><DT><A NAME="-height"><B>-height</B></A></DT>
73
+ <DD>
74
+
75
+ Specifies the desired height for the pages. If this option is equal to zero (the default)
76
+ then the window will not request any size at all.
77
+ In this case, user may want to call PagesManager::<B>compute_size</B> to make PagesManager
78
+ larger enough to contains the largest page.
79
+ </DD>
80
+ </DL>
81
+ <DL><DT><A NAME="-width"><B>-width</B></A></DT>
82
+ <DD>
83
+
84
+ Specifies the desired width for the pages. If this option is equal to zero (the default)
85
+ then the window will not request any size at all.
86
+ In this case, user may want to call PagesManager::<B>compute_size</B> to make PagesManager
87
+ larger enough to contains the largest page.
88
+ </DD>
89
+ </DL>
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>
93
+ <I>page</I>
94
+ </DT><DD>
95
+
96
+ Add a new page identified by <I>page</I>, which is an arbitrary
97
+ identifier. The pathname of the new page is returned and widgets for
98
+ the page should be created with this as the parent or ancestor.
99
+ However, PagesManager manages its own geometry. <B>pack</B>,
100
+ <B>grid</B> or an equivalent should not be used with the pathname
101
+ returned by <B>add</B>.
102
+
103
+ </DD></DL>
104
+ <DL><DT><A NAME="cget"><I>pathName</I> <B>cget</B></A>
105
+ <I>option</I>
106
+ </DT><DD>
107
+
108
+ Returns the current value of the configuration option given by <I>option</I>.
109
+ <I>Option</I> may have any of the values accepted by the creation command.
110
+ </DD></DL>
111
+ <DL><DT><A NAME="compute_size"><I>pathName</I> <B>compute_size</B></A>
112
+ </DT><DD>
113
+
114
+ This command can be called to make the PagesManager large enough to contain the largest page.
115
+
116
+ </DD></DL>
117
+ <DL><DT><A NAME="configure"><I>pathName</I> <B>configure</B></A>
118
+ ?<I>option</I>? ?<I>value</I> <I>option</I> <I>value</I> ...?
119
+ </DT><DD>
120
+
121
+ Query or modify the configuration options of the widget. If no <I>option</I> is specified,
122
+ returns a list describing all of the available options for <I>pathName</I>.
123
+ If <I>option</I> is specified with no <I>value</I>, then the command returns a list
124
+ describing the one named <I>option</I> (this list will be identical to the corresponding
125
+ sublist of the value returned if no <I>option</I> is specified). If one or
126
+ more <I>option-value</I> pairs are specified, then the command modifies the given widget
127
+ option(s) to have the given value(s); in this case the command 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
+
131
+ </DD></DL>
132
+ <DL><DT><A NAME="delete"><I>pathName</I> <B>delete</B></A>
133
+ <I>page</I>
134
+ </DT><DD>
135
+
136
+ Deletes the page <I>page</I>.
137
+
138
+ </DD></DL>
139
+ <DL><DT><A NAME="getframe"><I>pathName</I> <B>getframe</B></A>
140
+ <I>page</I>
141
+ </DT><DD>
142
+
143
+ Returns the pathname of the page <I>page</I>.
144
+
145
+ </DD></DL>
146
+ <DL><DT><A NAME="page"><I>pathName</I> <B>page</B></A>
147
+ <I>first</I>
148
+ ?<I>last</I>?
149
+ </DT><DD>
150
+
151
+ <B>Its use is deprecated. Use <I>pages</I> instead.</B><BR>
152
+ If <I>last</I> is omitted, returns the page at index <I>first</I>, or an empty string if
153
+ <I>first</I> refers to a non-existent element. If <I>last</I> is specified, the command
154
+ returns a list whose elements are all of the pages between <I>first</I> and <I>last</I>,
155
+ inclusive. Both <I>first</I> and <I>last</I> may have any of the standard
156
+ forms for indices.
157
+
158
+ </DD></DL>
159
+ <DL><DT><A NAME="pages"><I>pathName</I> <B>pages</B></A>
160
+ ?<I>first</I>?
161
+ ?<I>last</I>?
162
+ </DT><DD>
163
+
164
+ If <I>first</I> and <I>last</I> are omitted, returns the list of all pages.
165
+ If <I>first</I> is specified and <I>last</I> omitted, returns the page at index
166
+ <I>first</I>, or an empty string if <I>first</I> refers to a non-existent element.
167
+ If <I>first</I> and <I>last</I> are specified, the command returns a list whose elements
168
+ are all of the pages between <I>first</I> and <I>last</I>,
169
+ inclusive. Both <I>first</I> and <I>last</I> may have any of the standard
170
+ forms for indices.
171
+
172
+ </DD></DL>
173
+ <DL><DT><A NAME="raise"><I>pathName</I> <B>raise</B></A>
174
+ ?<I>page</I>?
175
+ </DT><DD>
176
+
177
+ Raise the page <I>page</I>, or return the raised page if <I>page</I> is omitted.
178
+
179
+ </DD></DL>
180
+ </BODY></HTML>