Pratt 1.5.6

Sign up to get free protection for your applications and to get access to all the features.
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,101 @@
1
+ #
2
+ # toolbutton.tcl,v 1.6 2006/11/06 02:30:49 jenglish Exp
3
+ #
4
+ # Demonstration of custom widget styles.
5
+ #
6
+
7
+ #
8
+ # ~ BACKGROUND
9
+ #
10
+ # Checkbuttons in toolbars have a very different appearance
11
+ # than regular checkbuttons: there's no indicator, they
12
+ # "pop up" when the mouse is over them, and they appear sunken
13
+ # when selected.
14
+ #
15
+ # Tk added partial support for toolbar-style buttons in 8.4
16
+ # with the "-overrelief" option, and TIP #82 added further
17
+ # support with the "-offrelief" option. So to get a toolbar-style
18
+ # checkbutton, you can configure it with:
19
+ #
20
+ # checkbutton .cb \
21
+ # -indicatoron false -selectcolor {} -relief flat -overrelief raised -offrelief flat
22
+ #
23
+ # Behind the scenes, Tk has a lot of rather complicated logic
24
+ # to implement this checkbutton style; see library/button.tcl,
25
+ # generic/tkButton.c, and the platform-specific files unix/tkUnixButton.c
26
+ # et al. for the full details.
27
+ #
28
+ # The tile widget set has a better way: custom styles.
29
+ # Since the appearance is completely controlled by the theme engine,
30
+ # we can define a new "Toolbutton" style and just use:
31
+ #
32
+ # checkbutton .cb -style Toolbutton
33
+ #
34
+ #
35
+ # ~ DEMONSTRATION
36
+ #
37
+ # The tile built-in themes (default, "alt", windows, and XP)
38
+ # already include Toolbutton styles. This script will add
39
+ # them to the "step" theme as a demonstration.
40
+ #
41
+ # (Note: Pushbuttons and radiobuttons can also use the "Toolbutton"
42
+ # style; see demo.tcl.)
43
+ #
44
+
45
+ ttk::style theme settings "step" {
46
+
47
+ #
48
+ # First, we use [ttk::style layout] to define what elements to
49
+ # use and how they're arranged. Toolbuttons are pretty
50
+ # simple, consisting of a border, some internal padding,
51
+ # and a label. (See also the TScrollbar layout definition
52
+ # in demos/blue.tcl for a more complicated layout spec.)
53
+ #
54
+ ttk::style layout Toolbutton {
55
+ Toolbutton.border -children {
56
+ Toolbutton.padding -children {
57
+ Toolbutton.label
58
+ }
59
+ }
60
+ }
61
+
62
+ # (Actually the above isn't strictly necessary, since the same layout
63
+ # is defined in the default theme; we could have inherited it
64
+ # instead.)
65
+ #
66
+ # Next, specify default values for element options.
67
+ # For many options (like -background), the defaults
68
+ # inherited from the parent style are sufficient.
69
+ #
70
+ ttk::style configure Toolbutton \
71
+ -width 0 -padding 1 -relief flat -borderwidth 2
72
+
73
+ #
74
+ # Finally, use [ttk::style map] to specify state-specific
75
+ # resource values. We want a flat relief if the widget is
76
+ # disabled, sunken if it's selected (on) or pressed,
77
+ # and raised when it's active (the mouse pointer is
78
+ # over the widget). Each state-value pair is checked
79
+ # in order, and the first matching state takes precedence.
80
+ #
81
+ ttk::style map Toolbutton -relief {
82
+ disabled flat
83
+ selected sunken
84
+ pressed sunken
85
+ active raised
86
+ }
87
+ }
88
+
89
+ #
90
+ # ~ A final note:
91
+ #
92
+ # TIP #82 also says: "When -indicatoron is off and the button itself
93
+ # is on, the relief continues to be hard-coded to sunken. For symmetry,
94
+ # we might consider adding another -onrelief option to cover this
95
+ # case. But it is difficult to imagine ever wanting to change the
96
+ # value of -onrelief so it has been omitted from this TIP.
97
+ # If there as strong desire to have -onrelief, it can be added later."
98
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
99
+ #
100
+ # The Tile project aims to make sure that this never needs to happen.
101
+ #
@@ -0,0 +1,230 @@
1
+ '\"
2
+ '\" Copyright (c) 2004 Joe English
3
+ '\"
4
+ '\" RCS: @(#) Geometry.3,v 1.7 2004/12/11 00:36:36 jenglish Exp
5
+ '\"
6
+ .so man.macros
7
+ .TH Geometry 3 0.2 tile "Tile Widget Set"
8
+ .BS
9
+ .SH NAME
10
+ geometry: Ttk_MakeBox, Ttk_PadBox, Ttk_ExpandBox, Ttk_PackBox, Ttk_StickBox, Ttk_PlaceBox, Ttk_BoxContains, Ttk_MakePadding, Ttk_UniformPadding, Ttk_AddPadding, Ttk_RelievePadding, Ttk_GetPaddingFromObj, Ttk_GetBorderFromObj, Ttk_GetStickyFromObj \- Geometry utilities
11
+ .SH SYNOPSIS
12
+ .nf
13
+ \fB#include <tkTheme.h>\fR
14
+
15
+ Ttk_Box
16
+ \fBTtk_MakeBox\fR(int \fIx\fR, int \fIy\fR, int \fIwidth\fR, int \fIheight\fR);
17
+
18
+ Ttk_Box
19
+ \fBTtk_PadBox\fR(Ttk_Box \fIparcel\fR, Ttk_Padding \fIpadding\fR);
20
+
21
+ Ttk_Box
22
+ \fBTtk_ExpandBox\fR(Ttk_Box \fIparcel\fR, Ttk_Padding \fIpadding\fR);
23
+
24
+ Ttk_Box
25
+ \fBTtk_PackBox\fR(Ttk_Box *\fIcavity\fR, int \fIwidth\fR, int \fIheight\fR, Ttk_Side \fIside\fR);
26
+
27
+ Ttk_Box
28
+ \fBTtk_StickBox\fR(Ttk_Box \fIparcel\fR, int \fIwidth\fR, int \fIheight\fR, unsigned \fIsticky\fR);
29
+
30
+ Ttk_Box
31
+ \fBTtk_PlaceBox\fR(Ttk_Box *\fIcavity\fR, int \fIwidth\fR, int \fIheight\fR, Ttk_Side \fIside\fR, unsigned \fIsticky\fR);
32
+
33
+ Ttk_Box
34
+ \fBTtk_AnchorBox\fR(Ttk_Box \fIparcel\fR, int \fIwidth\fR, int \fIheight\fR, Tk_Anchor \fIanchor\fR);
35
+
36
+ Ttk_Padding
37
+ \fBTtk_MakePadding\fR(\c
38
+ short \fIleft\fR, short \fItop\fR, short \fIright\fR, short \fIbottom\fR);
39
+
40
+ Ttk_Padding
41
+ \fBTtk_UniformPadding\fR(short \fIborder\fR);
42
+
43
+ Ttk_Padding
44
+ \fBTtk_AddPadding\fR(Ttk_Padding \fIpadding1\fR, Ttk_Padding \fIpadding2\fR;
45
+
46
+ Ttk_Padding
47
+ \fBTtk_RelievePadding\fR(Ttk_Padding \fIpadding\fR, int \fIrelief\fR);
48
+
49
+ int
50
+ \fBTtk_BoxContains\fR(Ttk_Box \fIbox\fR, int \fIx\fR, int \fIy\fR);
51
+
52
+ int
53
+ \fBTtk_GetPaddingFromObj\fR(
54
+ Tcl_Interp *\fIinterp\fR, Tk_Window \fItkwin\fR,
55
+ Tcl_Obj *\fIobjPtr\fR, Ttk_Padding *\fIpadding_rtn\fR);
56
+
57
+ int
58
+ \fBTtk_GetBorderFromObj\fR(
59
+ Tcl_Interp *\fIinterp\fR, Tcl_Obj *\fIobjPtr\fR, Ttk_Padding *\fIpadding_rtn\fR);
60
+
61
+ int
62
+ \fBTtk_GetStickyFromObj\fR(\c
63
+ Tcl_Interp *\fIinterp\fR, Tcl_Obj *\fIobjPtr\fR, int *\fIsticky_rtn\fR);
64
+ .fi
65
+ .SH ARGUMENTS
66
+ .AP Tk_Anchor anchor in
67
+ One of the symbolic constants \fBTK_ANCHOR_N\fR, \fBTK_ANCHOR_NE\fR,
68
+ etc. See \fITk_GetAnchorFromObj(3)\fR.
69
+ .AP "Ttk_Box *" cavity in/out
70
+ A rectangular region from which a parcel is allocated.
71
+ .AP short border in
72
+ Extra padding (in pixels) to add uniformly to each side of a region.
73
+ .AP short bottom in
74
+ Extra padding (in pixels) to add to the bottom of a region.
75
+ .AP Ttk_Box box in
76
+ .AP "Ttk_Box *" box_rtn out
77
+ Specifies a rectangular region.
78
+ .AP int height in
79
+ The height in pixels of a region.
80
+ .AP "Tcl_Interp *" interp in
81
+ Used to store error messages.
82
+ .AP int left in
83
+ Extra padding (in pixels) to add to the left side of a region.
84
+ .AP "Tcl_Obj *" objPtr in
85
+ String value contains a symbolic name
86
+ to be converted to an enumerated value or bitmask.
87
+ Internal rep may be be modified to cache corresponding value.
88
+ .AP Ttk_Padding padding in
89
+ .AP "Ttk_Padding *" padding_rtn out
90
+ Extra padding to add on the inside of a region.
91
+ .AP Ttk_Box parcel in
92
+ A rectangular region, allocated from a cavity.
93
+ .AP int relief in
94
+ One of the standard Tk relief options
95
+ (TK_RELIEF_RAISED, TK_RELIEF_SUNKEN, etc.).
96
+ See \fBTk_GetReliefFromObj\fR.
97
+ .AP short right in
98
+ Extra padding (in pixles) to add to the right side of a region.
99
+ .AP Ttk_Side side in
100
+ One of \fBTTK_SIDE_LEFT\fR, \fBTTK_SIDE_TOP\fR,
101
+ \fBTTK_SIDE_RIGHT\fR, or \fBTTK_SIDE_BOTTOM\fR.
102
+ .AP unsigned sticky in
103
+ A bitmask containing one or more of the bits
104
+ \fBTTK_STICK_W\fR (west, or left),
105
+ \fBTTK_STICK_E\fR (east, or right,
106
+ \fBTTK_STICK_N\fR (north, or top), and
107
+ \fBTTK_STICK_S\fR (south, or bottom).
108
+ \fBTTK_FILL_X\fR is defined as a synonym for (TTK_STICK_W|TTK_STICK_E),
109
+ \fBTTK_FILL_Y\fR is a synonym for (TTK_STICK_N|TTK_STICK_S),
110
+ and \fBTTK_FILL_BOTH\fR and \fBTTK_STICK_ALL\fR
111
+ are synonyms for (TTK_FILL_X|TTK_FILL_Y).
112
+ See also: \fIgrid(n)\fR.
113
+ .AP Tk_Window tkwin in
114
+ Window whose screen geometry determines
115
+ the conversion between absolute units and pixels.
116
+ .AP short top in
117
+ Extra padding at the top of a region.
118
+ .AP int width in
119
+ The width in pixels of a region.
120
+ .AP int x in
121
+ X coordinate of upper-left corner of region.
122
+ .AP int y in
123
+ Y coordinate of upper-left corner of region.
124
+ .BE
125
+
126
+ .SH "BOXES"
127
+ The \fBTtk_Box\fR structure represents a rectangular region of a window:
128
+ .CS
129
+ typedef struct {
130
+ int x;
131
+ int y;
132
+ int width;
133
+ int height;
134
+ } Ttk_Box;
135
+ .CE
136
+ All coordinates are relative to the window.
137
+ .PP
138
+ \fBTtk_MakeBox\fR is a convenience routine that contsructs
139
+ a \fBTtk_Box\fR structure representing a region \fIwidth\fR pixels
140
+ wide, \fIheight\fR pixels tall, at the specified \fIx, y\fR coordinates.
141
+ .PP
142
+ \fBTtk_PadBox\fR returns a new box located inside the specified \fIparcel\fR,
143
+ shrunken according to the left, top, right, and bottom margins
144
+ specified by \fIpadding\fR.
145
+ .PP
146
+ \fBTtk_ExpandBox\fR is the inverse of \fBTtk_PadBox\fP:
147
+ it returns a new box surrounding the specified \fIparcel\fR,
148
+ expanded according to the left, top, right, and bottom margins
149
+ specified by \fIpadding\fR.
150
+ .PP
151
+ \fBTtk_PackBox\fR allocates a parcel \fIwidth\fR by \fIheight\fR
152
+ pixels wide on the specified \fIside\fR of the \fIcavity\fR,
153
+ and shrinks the \fIcavity\fR accordingly.
154
+ .PP
155
+ \fBTtk_StickBox\fR places a box with the requested \fIwidth\fR
156
+ and \fIheight\fR inside the \fIparcel\fR according to the
157
+ \fIsticky\fR bits.
158
+ .PP
159
+ \fBTtk_PlaceBox\fP combines \fBTtk_PackBox\fP and \fBTtk_StickBox\fP:
160
+ it allocates a parcel on the specified \fIside\fP of the \fIcavity\fP,
161
+ places a box of the requested size inside the parcel according to \fIsticky\fP,
162
+ and shrinks the \fIcavity\fP.
163
+ .PP
164
+ \fBTtk_AnchorBox\fR places a box with the requested \fIwidth\fR
165
+ and \fIheight\fR inside the \fIparcel\fR according to the
166
+ specified \fIanchor\fR option.
167
+ .PP
168
+ \fBTtk_BoxContains\fR tests if the specified \fIx, y\fR coordinate
169
+ lies within the rectangular region \fIbox\fR.
170
+ .SH "PADDDING"
171
+ The \fBTtk_Padding\fR structure is used to represent
172
+ borders, internal padding, and external margins:
173
+ .CS
174
+ typedef struct {
175
+ short left;
176
+ short top;
177
+ short right;
178
+ short bottom;
179
+ } Ttk_Padding;
180
+ .CE
181
+ .PP
182
+ \fBTtk_MakePadding\fR is a convenience routine that contsructs
183
+ a \fBTtk_Padding\fR structure with the specified left, top, right, and bottom
184
+ components.
185
+ .PP
186
+ \fBTtk_UniformPadding\fR constructs a \fBTtk_Padding\fR structure
187
+ with all components equal to the specified \fIborder\fR.
188
+ .PP
189
+ \fBTtk_AddPadding\fR adds two \fBTtk_Padding\fRs together
190
+ and returns a combined padding containing the sum of the
191
+ individual padding components.
192
+ .PP
193
+ \fBTtk_RelievePadding\fR
194
+ adds an extra 2 pixels of padding to \fIpadding\fR
195
+ according to the specified \fIrelief\fR.
196
+ If \fIrelief\fR is \fBTK_RELIEF_SUNKEN\fR,
197
+ adds two pixels at the top and left
198
+ so the inner region is shifted down and to the left.
199
+ If it is \fBTK_RELIEF_RAISED\fR, adds two pixels
200
+ at the bottom and right so
201
+ the inner region is shifted up and to the right.
202
+ Otherwise, adds 1 pixel on all sides.
203
+ This is typically used in element geometry procedures to simulate
204
+ a "pressed-in" look for pushbuttons.
205
+
206
+ .SH "CONVERSION ROUTINES"
207
+ \fBTtk_GetPaddingFromObj\fR converts the string in \fIobjPtr\fR
208
+ to a \fBTtk_Padding\fR structure.
209
+ The string representation is a list of
210
+ up to four length specifications
211
+ \fI"left top right bottom"\fR.
212
+ If fewer than four elements are specified,
213
+ \fIbottom\fR defaults to \fItop\fR,
214
+ \fIright\fR defaults to \fIleft\fR, and
215
+ \fItop\fR defaults to \fIleft\fR.
216
+ See \fBTk_GetPixelsFromObj(3)\fR for the syntax of length specifications.
217
+ .PP
218
+ \fBTtk_GetBorderFromObj\fR is the same as \fBTtk_GetPaddingFromObj\fP
219
+ except that the lengths are specified as integers
220
+ (i.e., resolution-dependant values like \fI3m\fP are not allowed).
221
+ .PP
222
+ \fBTtk_GetStickyFromObj\fR converts the string in \fIobjPtr\fR
223
+ to a \fIsticky\fR bitmask. The string contains zero or more
224
+ of the characters \fBn\fR, \fBs\fR, \fBe\fR, or \fBw\fR.
225
+
226
+ .SH "SEE ALSO"
227
+ Tk_GetReliefFromObj(3), Tk_GetPixelsFromObj(3), Tk_GetAnchorFromObj(3)
228
+
229
+ .SH "KEYWORDS"
230
+ geometry, padding, margins, box, region, sticky, relief
@@ -0,0 +1,153 @@
1
+ <INDEX title="Tile package reference" package="tile" version="0.7">
2
+ <MAN id="tile-intro" title="intro"/>
3
+ <DEF cat="manpage" name="tile-intro" manpage="tile-intro"/>
4
+ <DEF cat="misc" name="tile_intro" manpage="tile-intro"/>
5
+ <MAN id="widget" title="widget"/>
6
+ <DEF cat="manpage" name="widget" manpage="widget"/>
7
+ <DEF cat="stdopt" name="widget" manpage="widget"/>
8
+ <DEF cat="stdopt" name="-class" manpage="widget" subpart="stdopt_-class"/>
9
+ <DEF cat="stdopt" name="-cursor" manpage="widget" subpart="stdopt_-cursor"/>
10
+ <DEF cat="stdopt" name="-takefocus" manpage="widget" subpart="stdopt_-takefocus"/>
11
+ <DEF cat="stdopt" name="-style" manpage="widget" subpart="stdopt_-style"/>
12
+ <DEF cat="stdopt" name="-xscrollcommand" manpage="widget" subpart="stdopt_-xscrollcommand"/>
13
+ <DEF cat="stdopt" name="-yscrollcommand" manpage="widget" subpart="stdopt_-yscrollcommand"/>
14
+ <DEF cat="stdopt" name="-text" manpage="widget" subpart="stdopt_-text"/>
15
+ <DEF cat="stdopt" name="-textvariable" manpage="widget" subpart="stdopt_-textvariable"/>
16
+ <DEF cat="stdopt" name="-underline" manpage="widget" subpart="stdopt_-underline"/>
17
+ <DEF cat="stdopt" name="-image" manpage="widget" subpart="stdopt_-image"/>
18
+ <DEF cat="stdopt" name="-compound" manpage="widget" subpart="stdopt_-compound"/>
19
+ <DEF cat="stdopt" name="-width" manpage="widget" subpart="stdopt_-width"/>
20
+ <DEF cat="stdopt" name="-state" manpage="widget" subpart="stdopt_-state"/>
21
+ <KWD name="state" manpage="widget"/>
22
+ <KWD name="configure" manpage="widget"/>
23
+ <KWD name="option" manpage="widget"/>
24
+ <MAN id="style" title="style"/>
25
+ <DEF cat="manpage" name="style" manpage="style"/>
26
+ <DEF cat="cmd" name="ttk::style" manpage="style"/>
27
+ <KWD name="style" manpage="style"/>
28
+ <KWD name="theme" manpage="style"/>
29
+ <KWD name="appearance" manpage="style"/>
30
+ <MAN id="image" title="image"/>
31
+ <DEF cat="manpage" name="image" manpage="image"/>
32
+ <DEF cat="cmd" name="ttk_image" manpage="image"/>
33
+ <KWD name="pixmap theme" manpage="image"/>
34
+ <KWD name="image" manpage="image"/>
35
+ <MAN id="button" title="button"/>
36
+ <DEF cat="manpage" name="button" manpage="button"/>
37
+ <DEF cat="widget" name="ttk::button" manpage="button"/>
38
+ <KWD name="widget" manpage="button"/>
39
+ <KWD name="button" manpage="button"/>
40
+ <KWD name="default" manpage="button"/>
41
+ <KWD name="command" manpage="button"/>
42
+ <MAN id="checkbutton" title="checkbutton"/>
43
+ <DEF cat="manpage" name="checkbutton" manpage="checkbutton"/>
44
+ <DEF cat="widget" name="ttk::checkbutton" manpage="checkbutton"/>
45
+ <KWD name="widget" manpage="checkbutton"/>
46
+ <KWD name="button" manpage="checkbutton"/>
47
+ <KWD name="toggle" manpage="checkbutton"/>
48
+ <KWD name="check" manpage="checkbutton"/>
49
+ <KWD name="option" manpage="checkbutton"/>
50
+ <MAN id="combobox" title="combobox"/>
51
+ <DEF cat="manpage" name="combobox" manpage="combobox"/>
52
+ <DEF cat="cmd" name="ttk::combobox" manpage="combobox"/>
53
+ <MAN id="dialog" title="dialog"/>
54
+ <DEF cat="manpage" name="dialog" manpage="dialog"/>
55
+ <DEF cat="cmd" name="ttk::dialog" manpage="dialog"/>
56
+ <MAN id="entry" title="entry"/>
57
+ <DEF cat="manpage" name="entry" manpage="entry"/>
58
+ <DEF cat="widget" name="ttk::entry" manpage="entry"/>
59
+ <KWD name="entry" manpage="entry"/>
60
+ <KWD name="widget" manpage="entry"/>
61
+ <KWD name="text field" manpage="entry"/>
62
+ <MAN id="frame" title="frame"/>
63
+ <DEF cat="manpage" name="frame" manpage="frame"/>
64
+ <DEF cat="widget" name="ttk::frame" manpage="frame"/>
65
+ <KWD name="widget" manpage="frame"/>
66
+ <KWD name="frame" manpage="frame"/>
67
+ <KWD name="container" manpage="frame"/>
68
+ <MAN id="label" title="label"/>
69
+ <DEF cat="manpage" name="label" manpage="label"/>
70
+ <DEF cat="widget" name="ttk::label" manpage="label"/>
71
+ <MAN id="labelframe" title="labelframe"/>
72
+ <DEF cat="manpage" name="labelframe" manpage="labelframe"/>
73
+ <DEF cat="widget" name="ttk::labelframe" manpage="labelframe"/>
74
+ <KWD name="widget" manpage="labelframe"/>
75
+ <KWD name="frame" manpage="labelframe"/>
76
+ <KWD name="container" manpage="labelframe"/>
77
+ <KWD name="label" manpage="labelframe"/>
78
+ <KWD name="groupbox" manpage="labelframe"/>
79
+ <MAN id="menubutton" title="menubutton"/>
80
+ <DEF cat="manpage" name="menubutton" manpage="menubutton"/>
81
+ <DEF cat="widget" name="ttk::menubutton" manpage="menubutton"/>
82
+ <KWD name="widget" manpage="menubutton"/>
83
+ <KWD name="button" manpage="menubutton"/>
84
+ <KWD name="menu" manpage="menubutton"/>
85
+ <MAN id="notebook" title="notebook"/>
86
+ <DEF cat="manpage" name="notebook" manpage="notebook"/>
87
+ <DEF cat="cmd" name="ttk::notebook" manpage="notebook"/>
88
+ <KWD name="pane" manpage="notebook"/>
89
+ <KWD name="tab" manpage="notebook"/>
90
+ <MAN id="paned" title="panedwindow"/>
91
+ <DEF cat="manpage" name="paned" manpage="paned"/>
92
+ <DEF cat="cmd" name="ttk::panedwindow" manpage="paned"/>
93
+ <MAN id="progressbar" title="progressbar"/>
94
+ <DEF cat="manpage" name="progressbar" manpage="progressbar"/>
95
+ <DEF cat="cmd" name="ttk::progressbar" manpage="progressbar"/>
96
+ <MAN id="radiobutton" title="radiobutton"/>
97
+ <DEF cat="manpage" name="radiobutton" manpage="radiobutton"/>
98
+ <DEF cat="widget" name="ttk::radiobutton" manpage="radiobutton"/>
99
+ <KWD name="widget" manpage="radiobutton"/>
100
+ <KWD name="button" manpage="radiobutton"/>
101
+ <KWD name="option" manpage="radiobutton"/>
102
+ <MAN id="scrollbar" title="scrollbar"/>
103
+ <DEF cat="manpage" name="scrollbar" manpage="scrollbar"/>
104
+ <DEF cat="widget" name="ttk::scrollbar" manpage="scrollbar"/>
105
+ <KWD name="scrollbar" manpage="scrollbar"/>
106
+ <KWD name="widget" manpage="scrollbar"/>
107
+ <MAN id="separator" title="separator"/>
108
+ <DEF cat="manpage" name="separator" manpage="separator"/>
109
+ <DEF cat="cmd" name="ttk::separator" manpage="separator"/>
110
+ <KWD name="widget" manpage="separator"/>
111
+ <KWD name="separator" manpage="separator"/>
112
+ <MAN id="sizegrip" title="sizegrip"/>
113
+ <DEF cat="manpage" name="sizegrip" manpage="sizegrip"/>
114
+ <DEF cat="cmd" name="ttk::sizegrip" manpage="sizegrip"/>
115
+ <KWD name="widget" manpage="sizegrip"/>
116
+ <KWD name="sizegrip" manpage="sizegrip"/>
117
+ <KWD name="grow box" manpage="sizegrip"/>
118
+ <MAN id="treeview" title="treeview"/>
119
+ <DEF cat="manpage" name="treeview" manpage="treeview"/>
120
+ <DEF cat="cmd" name="ttk::treeview" manpage="treeview"/>
121
+ <MAN id="Geometry" title="Geometry"/>
122
+ <DEF cat="manpage" name="Geometry" manpage="Geometry"/>
123
+ <DEF cat="fun" name="Ttk_MakeBox" manpage="Geometry"/>
124
+ <DEF cat="fun" name="Ttk_PadBox" manpage="Geometry"/>
125
+ <DEF cat="fun" name="Ttk_ExpandBox" manpage="Geometry"/>
126
+ <DEF cat="fun" name="Ttk_PackBox" manpage="Geometry"/>
127
+ <DEF cat="fun" name="Ttk_StickBox" manpage="Geometry"/>
128
+ <DEF cat="fun" name="Ttk_PlaceBox" manpage="Geometry"/>
129
+ <DEF cat="fun" name="Ttk_BoxContains" manpage="Geometry"/>
130
+ <DEF cat="fun" name="Ttk_MakePadding" manpage="Geometry"/>
131
+ <DEF cat="fun" name="Ttk_UniformPadding" manpage="Geometry"/>
132
+ <DEF cat="fun" name="Ttk_AddPadding" manpage="Geometry"/>
133
+ <DEF cat="fun" name="Ttk_RelievePadding" manpage="Geometry"/>
134
+ <DEF cat="fun" name="Ttk_GetPaddingFromObj" manpage="Geometry"/>
135
+ <DEF cat="fun" name="Ttk_GetBorderFromObj" manpage="Geometry"/>
136
+ <DEF cat="fun" name="Ttk_GetStickyFromObj" manpage="Geometry"/>
137
+ <DEF cat="type" name="Ttk_Box" manpage="Geometry" subpart="type_Ttk_Box"/>
138
+ <DEF cat="type" name="Ttk_Padding" manpage="Geometry" subpart="type_Ttk_Padding"/>
139
+ <KWD name="geometry" manpage="Geometry"/>
140
+ <KWD name="padding" manpage="Geometry"/>
141
+ <KWD name="margins" manpage="Geometry"/>
142
+ <KWD name="box" manpage="Geometry"/>
143
+ <KWD name="region" manpage="Geometry"/>
144
+ <KWD name="sticky" manpage="Geometry"/>
145
+ <KWD name="relief" manpage="Geometry"/>
146
+ <MAN id="Theme" title="Ttk_CreateTheme"/>
147
+ <DEF cat="manpage" name="Theme" manpage="Theme"/>
148
+ <DEF cat="fun" name="Ttk_CreateTheme" manpage="Theme"/>
149
+ <DEF cat="fun" name="Ttk_GetTheme" manpage="Theme"/>
150
+ <DEF cat="fun" name="Ttk_GetDefaultTheme" manpage="Theme"/>
151
+ <DEF cat="fun" name="Ttk_GetCurrentTheme" manpage="Theme"/>
152
+ </INDEX>
153
+