Pratt 1.5.6

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 (283) hide show
  1. data/.exrc +61 -0
  2. data/.gitignore +4 -0
  3. data/History.txt +6 -0
  4. data/Manifest.txt +46 -0
  5. data/Pratt.gemspec +351 -0
  6. data/README.txt +66 -0
  7. data/Rakefile +85 -0
  8. data/TODO +54 -0
  9. data/VERSION +1 -0
  10. data/bin/pratt.rb +13 -0
  11. data/config.rb +34 -0
  12. data/lib/pratt.rb +527 -0
  13. data/lib/pratt/array.rb +11 -0
  14. data/lib/pratt/string.rb +18 -0
  15. data/models/app.rb +40 -0
  16. data/models/customer.rb +24 -0
  17. data/models/payment.rb +22 -0
  18. data/models/pratt.rb +19 -0
  19. data/models/project.rb +82 -0
  20. data/models/whence.rb +70 -0
  21. data/pkgs/tile-0.8.2.tar.gz +0 -0
  22. data/pkgs/tile-0.8.2/ANNOUNCE.txt +95 -0
  23. data/pkgs/tile-0.8.2/ChangeLog +4651 -0
  24. data/pkgs/tile-0.8.2/Makefile +250 -0
  25. data/pkgs/tile-0.8.2/Makefile.in +250 -0
  26. data/pkgs/tile-0.8.2/README.txt +86 -0
  27. data/pkgs/tile-0.8.2/aclocal.m4 +2 -0
  28. data/pkgs/tile-0.8.2/altTheme.o +0 -0
  29. data/pkgs/tile-0.8.2/blink.o +0 -0
  30. data/pkgs/tile-0.8.2/button.o +0 -0
  31. data/pkgs/tile-0.8.2/cache.o +0 -0
  32. data/pkgs/tile-0.8.2/clamTheme.o +0 -0
  33. data/pkgs/tile-0.8.2/classicTheme.o +0 -0
  34. data/pkgs/tile-0.8.2/config.log +1330 -0
  35. data/pkgs/tile-0.8.2/config.status +795 -0
  36. data/pkgs/tile-0.8.2/configure +15248 -0
  37. data/pkgs/tile-0.8.2/configure.in +89 -0
  38. data/pkgs/tile-0.8.2/demos/autocomplete.tcl +59 -0
  39. data/pkgs/tile-0.8.2/demos/demo.tcl +870 -0
  40. data/pkgs/tile-0.8.2/demos/dirbrowser.tcl +167 -0
  41. data/pkgs/tile-0.8.2/demos/dlgtest.tcl +97 -0
  42. data/pkgs/tile-0.8.2/demos/iconlib.tcl +110 -0
  43. data/pkgs/tile-0.8.2/demos/repeater.tcl +117 -0
  44. data/pkgs/tile-0.8.2/demos/toolbutton.tcl +101 -0
  45. data/pkgs/tile-0.8.2/doc/Geometry.3 +230 -0
  46. data/pkgs/tile-0.8.2/doc/INDEX.MAP +153 -0
  47. data/pkgs/tile-0.8.2/doc/Makefile +36 -0
  48. data/pkgs/tile-0.8.2/doc/TILE.XML +45 -0
  49. data/pkgs/tile-0.8.2/doc/Theme.3 +34 -0
  50. data/pkgs/tile-0.8.2/doc/button.n +75 -0
  51. data/pkgs/tile-0.8.2/doc/checkbutton.n +61 -0
  52. data/pkgs/tile-0.8.2/doc/combobox.n +98 -0
  53. data/pkgs/tile-0.8.2/doc/converting.txt +97 -0
  54. data/pkgs/tile-0.8.2/doc/dialog.n +122 -0
  55. data/pkgs/tile-0.8.2/doc/entry.n +438 -0
  56. data/pkgs/tile-0.8.2/doc/frame.n +43 -0
  57. data/pkgs/tile-0.8.2/doc/html/Geometry.html +304 -0
  58. data/pkgs/tile-0.8.2/doc/html/Theme.html +48 -0
  59. data/pkgs/tile-0.8.2/doc/html/button.html +120 -0
  60. data/pkgs/tile-0.8.2/doc/html/category-index.html +18 -0
  61. data/pkgs/tile-0.8.2/doc/html/checkbutton.html +94 -0
  62. data/pkgs/tile-0.8.2/doc/html/combobox.html +164 -0
  63. data/pkgs/tile-0.8.2/doc/html/converting.txt +97 -0
  64. data/pkgs/tile-0.8.2/doc/html/dialog.html +159 -0
  65. data/pkgs/tile-0.8.2/doc/html/entry.html +613 -0
  66. data/pkgs/tile-0.8.2/doc/html/frame.html +76 -0
  67. data/pkgs/tile-0.8.2/doc/html/image.html +100 -0
  68. data/pkgs/tile-0.8.2/doc/html/index.html +25 -0
  69. data/pkgs/tile-0.8.2/doc/html/keyword-index.html +228 -0
  70. data/pkgs/tile-0.8.2/doc/html/label.html +133 -0
  71. data/pkgs/tile-0.8.2/doc/html/labelframe.html +91 -0
  72. data/pkgs/tile-0.8.2/doc/html/manpage.css +212 -0
  73. data/pkgs/tile-0.8.2/doc/html/menubutton.html +63 -0
  74. data/pkgs/tile-0.8.2/doc/html/notebook.html +280 -0
  75. data/pkgs/tile-0.8.2/doc/html/paned.html +149 -0
  76. data/pkgs/tile-0.8.2/doc/html/progressbar.html +138 -0
  77. data/pkgs/tile-0.8.2/doc/html/radiobutton.html +89 -0
  78. data/pkgs/tile-0.8.2/doc/html/scrollbar.html +221 -0
  79. data/pkgs/tile-0.8.2/doc/html/separator.html +48 -0
  80. data/pkgs/tile-0.8.2/doc/html/sizegrip.html +62 -0
  81. data/pkgs/tile-0.8.2/doc/html/style.html +172 -0
  82. data/pkgs/tile-0.8.2/doc/html/tile-intro.html +164 -0
  83. data/pkgs/tile-0.8.2/doc/html/treeview.html +634 -0
  84. data/pkgs/tile-0.8.2/doc/html/widget.html +342 -0
  85. data/pkgs/tile-0.8.2/doc/image.n +81 -0
  86. data/pkgs/tile-0.8.2/doc/internals.txt +409 -0
  87. data/pkgs/tile-0.8.2/doc/label.n +75 -0
  88. data/pkgs/tile-0.8.2/doc/labelframe.n +64 -0
  89. data/pkgs/tile-0.8.2/doc/man.macros +239 -0
  90. data/pkgs/tile-0.8.2/doc/menubutton.n +41 -0
  91. data/pkgs/tile-0.8.2/doc/notebook.n +188 -0
  92. data/pkgs/tile-0.8.2/doc/paned.n +95 -0
  93. data/pkgs/tile-0.8.2/doc/progressbar.n +79 -0
  94. data/pkgs/tile-0.8.2/doc/radiobutton.n +57 -0
  95. data/pkgs/tile-0.8.2/doc/scrollbar.n +160 -0
  96. data/pkgs/tile-0.8.2/doc/separator.n +30 -0
  97. data/pkgs/tile-0.8.2/doc/sizegrip.n +53 -0
  98. data/pkgs/tile-0.8.2/doc/style.n +119 -0
  99. data/pkgs/tile-0.8.2/doc/tile-intro.n +165 -0
  100. data/pkgs/tile-0.8.2/doc/tmml.options +4 -0
  101. data/pkgs/tile-0.8.2/doc/treeview.n +415 -0
  102. data/pkgs/tile-0.8.2/doc/widget.n +227 -0
  103. data/pkgs/tile-0.8.2/doc/xml/Geometry.tmml +379 -0
  104. data/pkgs/tile-0.8.2/doc/xml/INDEX.MAP +153 -0
  105. data/pkgs/tile-0.8.2/doc/xml/Theme.tmml +63 -0
  106. data/pkgs/tile-0.8.2/doc/xml/button.tmml +134 -0
  107. data/pkgs/tile-0.8.2/doc/xml/checkbutton.tmml +119 -0
  108. data/pkgs/tile-0.8.2/doc/xml/combobox.tmml +184 -0
  109. data/pkgs/tile-0.8.2/doc/xml/dialog.tmml +195 -0
  110. data/pkgs/tile-0.8.2/doc/xml/entry.tmml +630 -0
  111. data/pkgs/tile-0.8.2/doc/xml/frame.tmml +98 -0
  112. data/pkgs/tile-0.8.2/doc/xml/image.tmml +101 -0
  113. data/pkgs/tile-0.8.2/doc/xml/label.tmml +154 -0
  114. data/pkgs/tile-0.8.2/doc/xml/labelframe.tmml +116 -0
  115. data/pkgs/tile-0.8.2/doc/xml/menubutton.tmml +80 -0
  116. data/pkgs/tile-0.8.2/doc/xml/notebook.tmml +306 -0
  117. data/pkgs/tile-0.8.2/doc/xml/paned.tmml +154 -0
  118. data/pkgs/tile-0.8.2/doc/xml/progressbar.tmml +151 -0
  119. data/pkgs/tile-0.8.2/doc/xml/radiobutton.tmml +109 -0
  120. data/pkgs/tile-0.8.2/doc/xml/scrollbar.tmml +233 -0
  121. data/pkgs/tile-0.8.2/doc/xml/separator.tmml +59 -0
  122. data/pkgs/tile-0.8.2/doc/xml/sizegrip.tmml +82 -0
  123. data/pkgs/tile-0.8.2/doc/xml/style.tmml +171 -0
  124. data/pkgs/tile-0.8.2/doc/xml/tile-intro.tmml +192 -0
  125. data/pkgs/tile-0.8.2/doc/xml/treeview.tmml +604 -0
  126. data/pkgs/tile-0.8.2/doc/xml/widget.tmml +372 -0
  127. data/pkgs/tile-0.8.2/entry.o +0 -0
  128. data/pkgs/tile-0.8.2/frame.o +0 -0
  129. data/pkgs/tile-0.8.2/generic/Makefile.in +221 -0
  130. data/pkgs/tile-0.8.2/generic/TODO +493 -0
  131. data/pkgs/tile-0.8.2/generic/altTheme.c +1172 -0
  132. data/pkgs/tile-0.8.2/generic/blink.c +168 -0
  133. data/pkgs/tile-0.8.2/generic/button.c +858 -0
  134. data/pkgs/tile-0.8.2/generic/cache.c +354 -0
  135. data/pkgs/tile-0.8.2/generic/clamTheme.c +974 -0
  136. data/pkgs/tile-0.8.2/generic/classicTheme.c +518 -0
  137. data/pkgs/tile-0.8.2/generic/configure +10334 -0
  138. data/pkgs/tile-0.8.2/generic/configure.in +100 -0
  139. data/pkgs/tile-0.8.2/generic/entry.c +1922 -0
  140. data/pkgs/tile-0.8.2/generic/frame.c +648 -0
  141. data/pkgs/tile-0.8.2/generic/gunk.h +44 -0
  142. data/pkgs/tile-0.8.2/generic/image.c +416 -0
  143. data/pkgs/tile-0.8.2/generic/label.c +663 -0
  144. data/pkgs/tile-0.8.2/generic/layout.c +1215 -0
  145. data/pkgs/tile-0.8.2/generic/manager.c +554 -0
  146. data/pkgs/tile-0.8.2/generic/manager.h +91 -0
  147. data/pkgs/tile-0.8.2/generic/notebook.c +1380 -0
  148. data/pkgs/tile-0.8.2/generic/paned.c +958 -0
  149. data/pkgs/tile-0.8.2/generic/pkgIndex.tcl.in +7 -0
  150. data/pkgs/tile-0.8.2/generic/progress.c +549 -0
  151. data/pkgs/tile-0.8.2/generic/scale.c +526 -0
  152. data/pkgs/tile-0.8.2/generic/scroll.c +253 -0
  153. data/pkgs/tile-0.8.2/generic/scrollbar.c +346 -0
  154. data/pkgs/tile-0.8.2/generic/separator.c +132 -0
  155. data/pkgs/tile-0.8.2/generic/square.c +306 -0
  156. data/pkgs/tile-0.8.2/generic/tagset.c +147 -0
  157. data/pkgs/tile-0.8.2/generic/tile.c +296 -0
  158. data/pkgs/tile-0.8.2/generic/tkElements.c +1280 -0
  159. data/pkgs/tile-0.8.2/generic/tkTheme.c +1708 -0
  160. data/pkgs/tile-0.8.2/generic/tkTheme.h +419 -0
  161. data/pkgs/tile-0.8.2/generic/tkThemeInt.h +45 -0
  162. data/pkgs/tile-0.8.2/generic/tkstate.c +268 -0
  163. data/pkgs/tile-0.8.2/generic/trace.c +145 -0
  164. data/pkgs/tile-0.8.2/generic/track.c +174 -0
  165. data/pkgs/tile-0.8.2/generic/treeview.c +3211 -0
  166. data/pkgs/tile-0.8.2/generic/ttk.decls +154 -0
  167. data/pkgs/tile-0.8.2/generic/ttkDecls.h +340 -0
  168. data/pkgs/tile-0.8.2/generic/ttkStubInit.c +61 -0
  169. data/pkgs/tile-0.8.2/generic/ttkStubLib.c +70 -0
  170. data/pkgs/tile-0.8.2/generic/widget.c +785 -0
  171. data/pkgs/tile-0.8.2/generic/widget.h +263 -0
  172. data/pkgs/tile-0.8.2/image.o +0 -0
  173. data/pkgs/tile-0.8.2/label.o +0 -0
  174. data/pkgs/tile-0.8.2/layout.o +0 -0
  175. data/pkgs/tile-0.8.2/library/altTheme.tcl +101 -0
  176. data/pkgs/tile-0.8.2/library/aquaTheme.tcl +62 -0
  177. data/pkgs/tile-0.8.2/library/button.tcl +85 -0
  178. data/pkgs/tile-0.8.2/library/clamTheme.tcl +139 -0
  179. data/pkgs/tile-0.8.2/library/classicTheme.tcl +108 -0
  180. data/pkgs/tile-0.8.2/library/combobox.tcl +439 -0
  181. data/pkgs/tile-0.8.2/library/cursors.tcl +36 -0
  182. data/pkgs/tile-0.8.2/library/defaults.tcl +118 -0
  183. data/pkgs/tile-0.8.2/library/dialog.tcl +274 -0
  184. data/pkgs/tile-0.8.2/library/entry.tcl +580 -0
  185. data/pkgs/tile-0.8.2/library/fonts.tcl +153 -0
  186. data/pkgs/tile-0.8.2/library/icons.tcl +105 -0
  187. data/pkgs/tile-0.8.2/library/keynav.tcl +192 -0
  188. data/pkgs/tile-0.8.2/library/menubutton.tcl +171 -0
  189. data/pkgs/tile-0.8.2/library/notebook.tcl +193 -0
  190. data/pkgs/tile-0.8.2/library/paned.tcl +87 -0
  191. data/pkgs/tile-0.8.2/library/progress.tcl +51 -0
  192. data/pkgs/tile-0.8.2/library/scale.tcl +54 -0
  193. data/pkgs/tile-0.8.2/library/scrollbar.tcl +125 -0
  194. data/pkgs/tile-0.8.2/library/sizegrip.tcl +77 -0
  195. data/pkgs/tile-0.8.2/library/tile.tcl +211 -0
  196. data/pkgs/tile-0.8.2/library/treeview.tcl +382 -0
  197. data/pkgs/tile-0.8.2/library/utils.tcl +254 -0
  198. data/pkgs/tile-0.8.2/library/winTheme.tcl +77 -0
  199. data/pkgs/tile-0.8.2/library/xpTheme.tcl +63 -0
  200. data/pkgs/tile-0.8.2/libtile0.8.2.so +0 -0
  201. data/pkgs/tile-0.8.2/libttkstub.a +0 -0
  202. data/pkgs/tile-0.8.2/license.terms +24 -0
  203. data/pkgs/tile-0.8.2/macosx/aquaTheme.c +1076 -0
  204. data/pkgs/tile-0.8.2/manager.o +0 -0
  205. data/pkgs/tile-0.8.2/notebook.o +0 -0
  206. data/pkgs/tile-0.8.2/paned.o +0 -0
  207. data/pkgs/tile-0.8.2/pkgIndex.tcl +3 -0
  208. data/pkgs/tile-0.8.2/progress.o +0 -0
  209. data/pkgs/tile-0.8.2/scale.o +0 -0
  210. data/pkgs/tile-0.8.2/scroll.o +0 -0
  211. data/pkgs/tile-0.8.2/scrollbar.o +0 -0
  212. data/pkgs/tile-0.8.2/separator.o +0 -0
  213. data/pkgs/tile-0.8.2/tagset.o +0 -0
  214. data/pkgs/tile-0.8.2/tclconfig/install-sh +119 -0
  215. data/pkgs/tile-0.8.2/tclconfig/tcl.m4 +4069 -0
  216. data/pkgs/tile-0.8.2/tclconfig/teax.m4 +109 -0
  217. data/pkgs/tile-0.8.2/tests/all.tcl +18 -0
  218. data/pkgs/tile-0.8.2/tests/bwidget.test +103 -0
  219. data/pkgs/tile-0.8.2/tests/cbtest.tcl +125 -0
  220. data/pkgs/tile-0.8.2/tests/combobox.test +51 -0
  221. data/pkgs/tile-0.8.2/tests/compound.tcl +92 -0
  222. data/pkgs/tile-0.8.2/tests/entry.test +285 -0
  223. data/pkgs/tile-0.8.2/tests/entrytest.tcl +78 -0
  224. data/pkgs/tile-0.8.2/tests/image.test +94 -0
  225. data/pkgs/tile-0.8.2/tests/labelframe.tcl +41 -0
  226. data/pkgs/tile-0.8.2/tests/labelframe.test +137 -0
  227. data/pkgs/tile-0.8.2/tests/layout.test +33 -0
  228. data/pkgs/tile-0.8.2/tests/misc.test +35 -0
  229. data/pkgs/tile-0.8.2/tests/nbtest.tcl +66 -0
  230. data/pkgs/tile-0.8.2/tests/notebook.test +500 -0
  231. data/pkgs/tile-0.8.2/tests/paned.test +298 -0
  232. data/pkgs/tile-0.8.2/tests/progress.test +92 -0
  233. data/pkgs/tile-0.8.2/tests/pwtest.tcl +90 -0
  234. data/pkgs/tile-0.8.2/tests/sbtest.tcl +79 -0
  235. data/pkgs/tile-0.8.2/tests/scrollbar.test +77 -0
  236. data/pkgs/tile-0.8.2/tests/sgtest.tcl +52 -0
  237. data/pkgs/tile-0.8.2/tests/testutils.tcl +20 -0
  238. data/pkgs/tile-0.8.2/tests/tile.test +674 -0
  239. data/pkgs/tile-0.8.2/tests/treetags.test +78 -0
  240. data/pkgs/tile-0.8.2/tests/treeview.test +563 -0
  241. data/pkgs/tile-0.8.2/tests/tvtest.tcl +332 -0
  242. data/pkgs/tile-0.8.2/tests/validate.test +278 -0
  243. data/pkgs/tile-0.8.2/tile.o +0 -0
  244. data/pkgs/tile-0.8.2/tkElements.o +0 -0
  245. data/pkgs/tile-0.8.2/tkTheme.o +0 -0
  246. data/pkgs/tile-0.8.2/tkstate.o +0 -0
  247. data/pkgs/tile-0.8.2/tools/genStubs.tcl +861 -0
  248. data/pkgs/tile-0.8.2/trace.o +0 -0
  249. data/pkgs/tile-0.8.2/track.o +0 -0
  250. data/pkgs/tile-0.8.2/treeview.o +0 -0
  251. data/pkgs/tile-0.8.2/ttkStubInit.o +0 -0
  252. data/pkgs/tile-0.8.2/ttkStubLib.o +0 -0
  253. data/pkgs/tile-0.8.2/widget.o +0 -0
  254. data/pkgs/tile-0.8.2/win/Tile.dsp +261 -0
  255. data/pkgs/tile-0.8.2/win/makefile.vc +527 -0
  256. data/pkgs/tile-0.8.2/win/monitor.c +164 -0
  257. data/pkgs/tile-0.8.2/win/nmakehlp.c +483 -0
  258. data/pkgs/tile-0.8.2/win/rules.vc +512 -0
  259. data/pkgs/tile-0.8.2/win/tile.rc +40 -0
  260. data/pkgs/tile-0.8.2/win/winTheme.c +734 -0
  261. data/pkgs/tile-0.8.2/win/xpTheme.c +1029 -0
  262. data/spec/app_spec.rb +48 -0
  263. data/spec/customer_spec.rb +31 -0
  264. data/spec/fixtures/graph.expectation +18 -0
  265. data/spec/payment_spec.rb +19 -0
  266. data/spec/pratt_spec.rb +148 -0
  267. data/spec/project_spec.rb +163 -0
  268. data/spec/rcov.opts +0 -0
  269. data/spec/spec.opts +1 -0
  270. data/spec/spec_helper.rb +21 -0
  271. data/spec/whence_spec.rb +54 -0
  272. data/tasks/pratt.rb +84 -0
  273. data/templates/model.eruby +12 -0
  274. data/templates/spec.eruby +8 -0
  275. data/views/env.rb +22 -0
  276. data/views/graph.eruby +20 -0
  277. data/views/invoice.eruby +148 -0
  278. data/views/main.rb +92 -0
  279. data/views/pid.eruby +3 -0
  280. data/views/pop.rb +94 -0
  281. data/views/pop2.rb +75 -0
  282. data/views/raw.eruby +11 -0
  283. metadata +390 -0
@@ -0,0 +1,80 @@
1
+ <manpage cat="widget" id="menubutton" title="menubutton" version="0.2">
2
+ <!-- This file was automatically generated. DO NOT EDIT (yet)! -->
3
+ <!--
4
+ Copyright (c) 2004 Joe English
5
+ -->
6
+ <?TROFF.TH title="menubutton" section="n" date="0.2" source="tile" manual="Tile Widget Set" ?>
7
+ <namesection>
8
+ <name>ttk::menubutton</name>
9
+ <desc>Widget that pops down a menu when pressed</desc>
10
+ </namesection>
11
+ <synopsis>
12
+ <syntax>
13
+ <b>ttk::menubutton</b> <m>pathName</m> ?<m>options</m>?
14
+ </syntax>
15
+ </synopsis>
16
+ <section>
17
+ <title>DESCRIPTION</title>
18
+ <p>A <b cat="AMBIGUOUS widget cmd">menubutton</b> widget displays a textual label and/or image,
19
+ and displays a menu when pressed.
20
+ </p>
21
+ </section>
22
+ <section>
23
+ <title>STANDARD OPTIONS</title>
24
+ <sl cat="stdopt" cols="4">
25
+ <li>-class</li>
26
+ <li>-compound</li>
27
+ <li>-cursor</li>
28
+ <li>-image</li>
29
+ <li>-state</li>
30
+ <li>-style</li>
31
+ <li>-takefocus</li>
32
+ <li>-text</li>
33
+ <li>-textvariable</li>
34
+ <li>-underline</li>
35
+ <li>-width</li>
36
+ </sl>
37
+ </section>
38
+ <section>
39
+ <title>OPTIONS</title>
40
+ <optionlist>
41
+ <optiondef>
42
+ <name>-direction</name>
43
+ <dbname>direction</dbname>
44
+ <dbclass>Direction</dbclass>
45
+ <desc>Specifies where the menu is to be popped up relative
46
+ to the menubutton.
47
+ One of: <i>above</i>, <i>below</i>, <i>left</i>, <i>right</i>,
48
+ or <i>flush</i>. The default is <i>below</i>.
49
+ <i>flush</i> pops the menu up directly over the menubutton.
50
+ </desc>
51
+ </optiondef>
52
+ <optiondef>
53
+ <name>-menu</name>
54
+ <dbname>menu</dbname>
55
+ <dbclass>Menu</dbclass>
56
+ <desc>Specifies the path name of the menu associated with the menubutton.
57
+ To be on the safe side, the menu ought to be a direct child of the
58
+ menubutton.
59
+ </desc>
60
+ </optiondef>
61
+ </optionlist>
62
+ </section>
63
+ <section>
64
+ <title>WIDGET COMMAND</title>
65
+ <p>Menubutton widgets support the standard
66
+ <b>cget</b>, <b>configure</b>, <b>instate</b>, and <b>state</b>
67
+ methods. No other widget methods are used.
68
+ </p>
69
+ </section>
70
+ <seealso>
71
+ <ref>widget(n)</ref>
72
+ <ref>keynav(n)</ref>
73
+ <ref>menu(n)</ref>
74
+ </seealso>
75
+ <keywords>
76
+ <keyword>widget</keyword>
77
+ <keyword>button</keyword>
78
+ <keyword>menu</keyword>
79
+ </keywords>
80
+ </manpage>
@@ -0,0 +1,306 @@
1
+ <manpage cat="cmd" id="notebook" title="notebook" version="0.2">
2
+ <!-- This file was automatically generated. DO NOT EDIT (yet)! -->
3
+ <!--
4
+ Copyright (c) 2004 Joe English
5
+ -->
6
+ <?TROFF.TH title="notebook" section="n" date="0.2" source="tile" manual="Tile Widget Set" ?>
7
+ <namesection>
8
+ <name>ttk::notebook</name>
9
+ <desc>Multi-paned container widget</desc>
10
+ </namesection>
11
+ <synopsis>
12
+ <syntax>
13
+ <b>ttk::notebook</b> <m>pathName</m> ?<m>options...</m>?
14
+
15
+ <m>pathName</m> <b>add</b> <m>window</m> ?<m>options...</m>?
16
+ <m>pathName</m> <b>insert</b> <m>index</m> <m>window</m> ?<m>options...</m>?
17
+ </syntax>
18
+ </synopsis>
19
+ <section>
20
+ <title>DESCRIPTION</title>
21
+ <p>A <b>ttk::notebook</b> widget manages a collection of windows
22
+ and displays a single one at a time.
23
+ Each slave window is associated with a <i>tab</i>,
24
+ which the user may select to change the currently-displayed window.
25
+ </p>
26
+ </section>
27
+ <section>
28
+ <title>STANDARD OPTIONS</title>
29
+ <sl cat="stdopt" cols="4">
30
+ <li>-class</li>
31
+ <li>-cursor</li>
32
+ <li>-style</li>
33
+ <li>-takefocus</li>
34
+ </sl>
35
+ </section>
36
+ <section>
37
+ <title>WIDGET OPTIONS</title>
38
+ <optionlist>
39
+ <optiondef>
40
+ <name>-height</name>
41
+ <dbname>height</dbname>
42
+ <dbclass>Height</dbclass>
43
+ <desc>If present and greater than zero,
44
+ specifies the desired height of the pane area
45
+ (not including internal padding or tabs).
46
+ Otherwise, the maximum height of all panes is used.
47
+ </desc>
48
+ </optiondef>
49
+ <optiondef>
50
+ <name>-padding</name>
51
+ <dbname>padding</dbname>
52
+ <dbclass>Padding</dbclass>
53
+ <desc>Specifies the amount of extra space to add around the outside
54
+ of the notebook.
55
+ The padding is a list of up to four length specifications
56
+ <i>left top right bottom</i>.
57
+ If fewer than four elements are specified,
58
+ <i>bottom</i> defaults to <i>top</i>,
59
+ <i>right</i> defaults to <i>left</i>, and
60
+ <i>top</i> defaults to <i>left</i>.
61
+ </desc>
62
+ </optiondef>
63
+ <optiondef>
64
+ <name>-width</name>
65
+ <dbname>width</dbname>
66
+ <dbclass>Width</dbclass>
67
+ <desc>If present and greater than zero,
68
+ specifies the desired width of the pane area
69
+ (not including internal padding).
70
+ Otherwise, the maximum width of all panes is used.
71
+ </desc>
72
+ </optiondef>
73
+ </optionlist>
74
+ </section>
75
+ <section id="tab-options">
76
+ <title>TAB OPTIONS</title>
77
+ <p>The following options may be specified for individual notebook panes:
78
+ </p>
79
+ <optionlist>
80
+ <optiondef>
81
+ <name>-state</name>
82
+ <dbname>state</dbname>
83
+ <dbclass>State</dbclass>
84
+ <desc>Either <b>normal</b>, <b>disabled</b> or <b>hidden</b>.
85
+ If <b>disabled</b>, then the tab is not selectable.
86
+ If <b>hidden</b>, then the tab is not shown.
87
+ </desc>
88
+ </optiondef>
89
+ <optiondef>
90
+ <name>-sticky</name>
91
+ <dbname>sticky</dbname>
92
+ <dbclass>Sticky</dbclass>
93
+ <desc>Specifies how the slave window is positioned within the pane area.
94
+ Value is a string containing zero or more of the characters
95
+ <b>n, s, e,</b> or <b>w</b>.
96
+ Each letter refers to a side (north, south, east, or west)
97
+ that the slave window will "stick" to,
98
+ as per the <cmd>grid</cmd> geometry manager.
99
+ </desc>
100
+ </optiondef>
101
+ <optiondef>
102
+ <name>-padding</name>
103
+ <dbname>padding</dbname>
104
+ <dbclass>Padding</dbclass>
105
+ <desc>Specifies the amount of extra space to add between the notebook and this pane.
106
+ Syntax is the same as for the widget <b>-padding</b> option.
107
+ </desc>
108
+ </optiondef>
109
+ <optiondef>
110
+ <name>-text</name>
111
+ <dbname>text</dbname>
112
+ <dbclass>Text</dbclass>
113
+ <desc>Specifies a string to be displayed in the tab.
114
+ </desc>
115
+ </optiondef>
116
+ <optiondef>
117
+ <name>-image</name>
118
+ <dbname>image</dbname>
119
+ <dbclass>Image</dbclass>
120
+ <desc>Specifies an image to display in the tab.
121
+ See <i>widget(n)</i> for details.
122
+ </desc>
123
+ </optiondef>
124
+ <optiondef>
125
+ <name>-compound</name>
126
+ <dbname>compound</dbname>
127
+ <dbclass>Compound</dbclass>
128
+ <desc>Specifies how to display the image relative to the text,
129
+ in the case both <b>-text</b> and <b>-image</b> are present.
130
+ See <i>label(n)</i> for legal values.
131
+ </desc>
132
+ </optiondef>
133
+ <optiondef>
134
+ <name>-underline</name>
135
+ <dbname>underline</dbname>
136
+ <dbclass>Underline</dbclass>
137
+ <desc>Specifies the integer index (0-based) of a character to underline
138
+ in the text string.
139
+ The underlined character is used for mnemonic activation
140
+ if <b>ttk::notebook::enableTraversal</b> is called.
141
+ </desc>
142
+ </optiondef>
143
+ </optionlist>
144
+ </section>
145
+ <section>
146
+ <title>WIDGET COMMAND</title>
147
+ <commandlist>
148
+ <commanddef>
149
+ <command><m>pathname</m> <b>add</b> <m>window</m> ?<m>options...</m>?</command>
150
+ <desc>Adds a new tab to the notebook.
151
+ See <ref refid="tab-options">TAB OPTIONS</ref> for the list of available <i>options</i>.
152
+ If <i>window</i> is currently managed by the notebook but hidden,
153
+ it is restored to its previous position.
154
+ </desc>
155
+ </commanddef>
156
+ <commanddef>
157
+ <command><m>pathname</m> <b>configure</b> ?<m>options</m>?</command>
158
+ <desc>See <i>widget(n)</i>.
159
+ </desc>
160
+ </commanddef>
161
+ <commanddef>
162
+ <command><m>pathname</m> <b>cget</b> <m>option</m></command>
163
+ <desc>See <i>widget(n)</i>.
164
+ </desc>
165
+ </commanddef>
166
+ <commanddef>
167
+ <command><m>pathname</m> <b>forget</b> <m>tabid</m></command>
168
+ <desc>Removes the tab specified by <i>tabid</i>,
169
+ unmaps and unmanages the associated window.
170
+ </desc>
171
+ </commanddef>
172
+ <commanddef>
173
+ <command><m>pathname</m> <b>hide</b> <m>tabid</m></command>
174
+ <desc>Hides the tab specified by <i>tabid</i>.
175
+ The tab will not be displayed, but the associated window
176
+ remains managed by the notebook and its configuration remembered.
177
+ Hidden tabs may be restored with the <b>add</b> command.
178
+ </desc>
179
+ </commanddef>
180
+ <commanddef>
181
+ <command><m>pathname</m> <b>index</b> <m>tabid</m></command>
182
+ <desc>Returns the numeric index of the tab specified by <i>tabid</i>,
183
+ or the total number of tabs if <i>tabid</i> is the string "<b>end</b>".
184
+ </desc>
185
+ </commanddef>
186
+ <commanddef>
187
+ <command><m>pathname</m> <b>insert</b> <m>pos</m> <m>subwindow</m> <m>options...</m></command>
188
+ <desc>Inserts a pane at the specified position.
189
+ <i>pos</i> is either the string <b>end</b>, an integer index,
190
+ or the name of a managed subwindow.
191
+ If <i>subwindow</i> is already managed by the notebook,
192
+ moves it to the specified position.
193
+ See <ref refid="tab-options">TAB OPTIONS</ref> for the list of available options.
194
+ </desc>
195
+ </commanddef>
196
+ <commanddef>
197
+ <command><m>pathname</m> <b>instate</b> <m>statespec</m> ?<m>script...</m>?</command>
198
+ <desc>See <i>widget(n)</i>.
199
+ </desc>
200
+ </commanddef>
201
+ <commanddef>
202
+ <command><m>pathname</m> <b>select</b> ?<m>tabid</m>?</command>
203
+ <desc>Selects the specified tab.
204
+ The associated slave window will be displayed,
205
+ and the previously-selected window (if different) is unmapped.
206
+ If <i>tabid</i> is omitted, returns the widget name of the
207
+ currently selected pane.
208
+ </desc>
209
+ </commanddef>
210
+ <commanddef>
211
+ <command><m>pathname</m> <b>state</b> ?<m>statespec</m>?</command>
212
+ <desc>See <i>widget(n)</i>.
213
+ </desc>
214
+ </commanddef>
215
+ <commanddef>
216
+ <command><m>pathname</m> <b>tab</b> <m>tabid</m> ?<m>-option</m> ?<m>value ...</m></command>
217
+ <desc>Query or modify the options of the specific tab.
218
+ If no <i>-option</i> is specified,
219
+ returns a dictionary of the tab option values.
220
+ If one <i>-option</i> is specified,
221
+ returns the value of that <i>option</i>.
222
+ Otherwise, sets the <i>-option</i>s to the corresponding <i>value</i>s.
223
+ See <ref refid="tab-options">TAB OPTIONS</ref> for the available options.
224
+ </desc>
225
+ </commanddef>
226
+ <commanddef>
227
+ <command><m>pathname</m> <b>tabs</b></command>
228
+ <desc>Returns the list of windows managed by the notebook.
229
+ </desc>
230
+ </commanddef>
231
+ </commandlist>
232
+ </section>
233
+ <section>
234
+ <title>KEYBOARD TRAVERSAL</title>
235
+ <p>To enable keyboard traversal for a toplevel window
236
+ containing a notebook widget <i>$nb</i>, call:
237
+ </p>
238
+ <example>
239
+ ttk::notebook::enableTraversal $nb
240
+ </example>
241
+ <p>This will extend the bindings for the toplevel window
242
+ containing the notebook as follows:
243
+ </p>
244
+ <ul>
245
+ <li><b>Control-Tab</b> selects the tab following the currently selected one.
246
+ </li>
247
+ <li><b>Shift-Control-Tab</b> selects the tab preceding the currently selected one.
248
+ </li>
249
+ <li><b>Alt-K</b>, where <b>K</b> is the mnemonic (underlined) character
250
+ of any tab, will select that tab.
251
+ </li>
252
+ </ul>
253
+ <p>Multiple notebooks in a single toplevel may be enabled for traversal,
254
+ including nested notebooks.
255
+ However, notebook traversal only works properly if all panes
256
+ are direct children of the notebook.
257
+ </p>
258
+ </section>
259
+ <section>
260
+ <title>TAB IDENTIFIERS</title>
261
+ <p>The <i>tabid</i> argument to the above commands may take
262
+ any of the following forms:
263
+ </p>
264
+ <ul>
265
+ <li>An integer between zero and the number of tabs;
266
+ </li>
267
+ <li>The name of a slave window;
268
+ </li>
269
+ <li>A positional specification of the form "@<i>x</i>,<i>y</i>",
270
+ which identifies the tab
271
+ </li>
272
+ <li>The literal string "<b>current</b>",
273
+ which identifies the currently-selected tab; or:
274
+ </li>
275
+ <li>The literal string "<b>end</b>",
276
+ which returns the number of tabs
277
+ (only valid for "<i>pathname</i> <b>index</b>").
278
+
279
+ </li>
280
+ </ul>
281
+ </section>
282
+ <section>
283
+ <title>VIRTUAL EVENTS</title>
284
+ <p>The notebook widget generates a <b>&lt;&lt;NotebookTabChanged&gt;&gt;</b>
285
+ virtual event after a new tab is selected.
286
+ </p>
287
+ </section>
288
+ <section>
289
+ <title>EXAMPLE</title>
290
+ <example>
291
+ notebook .nb
292
+ .nb add [frame .nb.f1] -text "First tab"
293
+ .nb add [frame .nb.f2] -text "Second tab"
294
+ .nb select .nb.f2
295
+ ttk::notebook::enableTraversal .nb
296
+ </example>
297
+ </section>
298
+ <seealso>
299
+ <ref>widget(n)</ref>
300
+ <ref>grid(n)</ref>
301
+ </seealso>
302
+ <keywords>
303
+ <keyword>pane</keyword>
304
+ <keyword>tab</keyword>
305
+ </keywords>
306
+ </manpage>
@@ -0,0 +1,154 @@
1
+ <manpage cat="cmd" id="paned" title="panedwindow" version="0.7">
2
+ <!-- This file was automatically generated. DO NOT EDIT (yet)! -->
3
+ <!-- paned.n,v 1.8 2007/12/12 15:55:15 jenglish Exp
4
+ Copyright (c) 2005 Joe English
5
+ -->
6
+ <?TROFF.TH title="panedwindow" section="n" date="0.7" source="tile" manual="Tile Widget Set" ?>
7
+ <namesection>
8
+ <name>ttk::panedwindow</name>
9
+ <desc>Multi-pane container window</desc>
10
+ </namesection>
11
+ <synopsis>
12
+ <syntax>
13
+ <b>ttk::panedwindow</b> <m>pathName</m> ?<m>options</m>?
14
+
15
+ <m>pathName</m> <b>add</b> <m>window</m> ?<m>options...</m>?
16
+ <m>pathName</m> <b>insert</b> <m>index</m> <m>window</m> ?<m>options...</m>?
17
+ </syntax>
18
+ </synopsis>
19
+ <section>
20
+ <title>DESCRIPTION</title>
21
+ <p>A panedwindow widget displays a number of subwindows,
22
+ stacked either vertically or horizontally.
23
+ The user may adjust the relative sizes of the subwindows
24
+ by dragging the sash between panes.
25
+ </p>
26
+ </section>
27
+ <section>
28
+ <title>STANDARD OPTIONS</title>
29
+ <sl cat="stdopt" cols="4">
30
+ <li>-class</li>
31
+ <li>-cursor</li>
32
+ <li>-style</li>
33
+ <li>-takefocus</li>
34
+ </sl>
35
+ </section>
36
+ <section>
37
+ <title>WIDGET OPTIONS</title>
38
+ <optionlist>
39
+ <optiondef>
40
+ <name>-orient</name>
41
+ <dbname>orient</dbname>
42
+ <dbclass>Orient</dbclass>
43
+ <desc>Specifies the orientation of the window.
44
+ If <b>vertical</b>, subpanes are stacked top-to-bottom;
45
+ if <b>horizontal</b>, subpanes are stacked left-to-right.
46
+ </desc>
47
+ </optiondef>
48
+ <optiondef>
49
+ <name>-width</name>
50
+ <dbname>width</dbname>
51
+ <dbclass>Width</dbclass>
52
+ <desc>If present and greater than zero,
53
+ specifies the desired width of the widget in pixels.
54
+ Otherwise, the requested width is determined by the width
55
+ of the managed windows.
56
+ </desc>
57
+ </optiondef>
58
+ <optiondef>
59
+ <name>-height</name>
60
+ <dbname>height</dbname>
61
+ <dbclass>Height</dbclass>
62
+ <desc>If present and greater than zero,
63
+ specifies the desired height of the widget in pixels.
64
+ Otherwise, the requested height is determined by the height
65
+ of the managed windows.
66
+ </desc>
67
+ </optiondef>
68
+ </optionlist>
69
+ </section>
70
+ <section id="pane-options">
71
+ <title>PANE OPTIONS</title>
72
+ <p>The following options may be specified for each pane:
73
+ </p>
74
+ <optionlist>
75
+ <optiondef>
76
+ <name>-weight</name>
77
+ <dbname>weight</dbname>
78
+ <dbclass>Weight</dbclass>
79
+ <desc>An integer specifying the relative stretchability of the pane.
80
+ When the panedwindow is resized, the extra space is added
81
+ or subtracted to each pane proportionally to its <b>-weight</b>.
82
+ </desc>
83
+ </optiondef>
84
+ </optionlist>
85
+ </section>
86
+ <section>
87
+ <title>WIDGET COMMAND</title>
88
+ <p>Supports the standard <b>configure</b>, <b>cget</b>, <b>state</b>,
89
+ and <b>instate</b> commands; see <i>widget(n)</i> for details.
90
+ Additional commands:
91
+ </p>
92
+ <commandlist>
93
+ <commanddef>
94
+ <command><m>pathname</m> <b>add</b> <m>subwindow</m> <m>options...</m></command>
95
+ <desc>Adds a new pane to the window.
96
+ <i>subwindow</i> must be a direct child of the panedwindow <i>pathname</i>.
97
+ See <ref refid="pane-options">PANE OPTIONS</ref> for the list of available options.
98
+ </desc>
99
+ </commanddef>
100
+ <commanddef>
101
+ <command><m>pathname</m> <b>forget</b> <m>pane</m></command>
102
+ <desc>Removes the specified subpane from the widget.
103
+ <i>pane</i> is either an integer index or the name of a managed subwindow.
104
+ </desc>
105
+ </commanddef>
106
+ <commanddef>
107
+ <command><m>pathname</m> <b>insert</b> <m>pos</m> <m>subwindow</m> <m>options...</m></command>
108
+ <desc>Inserts a pane at the specified position.
109
+ <i>pos</i> is either the string <b>end</b>, an integer index,
110
+ or the name of a managed subwindow.
111
+ If <i>subwindow</i> is already managed by the panedwindow,
112
+ moves it to the specified position.
113
+ See <ref refid="pane-options">PANE OPTIONS</ref> for the list of available options.
114
+ </desc>
115
+ </commanddef>
116
+ <commanddef>
117
+ <command><m>pathname</m> <b>pane</b> <m>pane -option</m> ?<m>value</m> ?<m>-option value...</m></command>
118
+ <desc>Query or modify the options of the specified <i>pane</i>,
119
+ where <i>pane</i> is either an integer index or the name of a managed subwindow.
120
+ If no <i>-option</i> is specified, returns a dictionary of the pane
121
+ option values.
122
+ If one <i>-option</i> is specified, returns the value of that <i>option</i>.
123
+ Otherwise, sets the <i>-option</i>s to the corresponding <i>value</i>s.
124
+ </desc>
125
+ </commanddef>
126
+ <commanddef>
127
+ <command><m>pathname</m> <b>panes</b></command>
128
+ <desc>Returns the list of all windows managed by the widget.
129
+ </desc>
130
+ </commanddef>
131
+ <commanddef>
132
+ <command><m>pathname</m> <b>sashpos</b> <m>index</m> ?<m>newpos</m>?</command>
133
+ <desc>If <i>newpos</i> is specified, sets the position
134
+ of sash number <i>index</i>.
135
+ May adjust the positions of adjacent sashes
136
+ to ensure that positions are monotonically increasing.
137
+ Sash positions are further constrained to be between 0
138
+ and the total size of the widget.
139
+ Returns the new position of sash number <i>index</i>.
140
+ </desc>
141
+ </commanddef>
142
+ <commanddef>
143
+ <command><m>pathname</m> <b>identify</b> <m>x y</m></command>
144
+ <desc>Returns the index of the sash at point <i>x,y</i>,
145
+ or the empty string if <i>x,y</i> is not over a sash.
146
+ </desc>
147
+ </commanddef>
148
+ </commandlist>
149
+ </section>
150
+ <seealso>
151
+ <ref>widget(n)</ref>
152
+ <ref>notebook(n)</ref>
153
+ </seealso>
154
+ </manpage>