tk-win 0.2.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. data/.document +5 -0
  2. data/.gitignore +21 -0
  3. data/LICENSE +20 -0
  4. data/README.rdoc +17 -0
  5. data/Rakefile +46 -0
  6. data/VERSION +1 -0
  7. data/lib/tcltk.rb +367 -0
  8. data/lib/tk.rb +5682 -0
  9. data/lib/tk/after.rb +6 -0
  10. data/lib/tk/autoload.rb +760 -0
  11. data/lib/tk/bgerror.rb +29 -0
  12. data/lib/tk/bindtag.rb +138 -0
  13. data/lib/tk/button.rb +31 -0
  14. data/lib/tk/canvas.rb +816 -0
  15. data/lib/tk/canvastag.rb +459 -0
  16. data/lib/tk/checkbutton.rb +32 -0
  17. data/lib/tk/clipboard.rb +75 -0
  18. data/lib/tk/clock.rb +71 -0
  19. data/lib/tk/composite.rb +484 -0
  20. data/lib/tk/console.rb +52 -0
  21. data/lib/tk/dialog.rb +326 -0
  22. data/lib/tk/encodedstr.rb +187 -0
  23. data/lib/tk/entry.rb +120 -0
  24. data/lib/tk/event.rb +562 -0
  25. data/lib/tk/font.rb +2351 -0
  26. data/lib/tk/frame.rb +132 -0
  27. data/lib/tk/grid.rb +279 -0
  28. data/lib/tk/image.rb +275 -0
  29. data/lib/tk/itemconfig.rb +1222 -0
  30. data/lib/tk/itemfont.rb +327 -0
  31. data/lib/tk/kinput.rb +71 -0
  32. data/lib/tk/label.rb +22 -0
  33. data/lib/tk/labelframe.rb +31 -0
  34. data/lib/tk/listbox.rb +284 -0
  35. data/lib/tk/macpkg.rb +80 -0
  36. data/lib/tk/menu.rb +718 -0
  37. data/lib/tk/menubar.rb +137 -0
  38. data/lib/tk/menuspec.rb +456 -0
  39. data/lib/tk/message.rb +24 -0
  40. data/lib/tk/mngfocus.rb +33 -0
  41. data/lib/tk/msgcat.rb +296 -0
  42. data/lib/tk/namespace.rb +551 -0
  43. data/lib/tk/optiondb.rb +377 -0
  44. data/lib/tk/optionobj.rb +212 -0
  45. data/lib/tk/pack.rb +107 -0
  46. data/lib/tk/package.rb +143 -0
  47. data/lib/tk/palette.rb +55 -0
  48. data/lib/tk/panedwindow.rb +260 -0
  49. data/lib/tk/place.rb +128 -0
  50. data/lib/tk/radiobutton.rb +73 -0
  51. data/lib/tk/root.rb +95 -0
  52. data/lib/tk/scale.rb +112 -0
  53. data/lib/tk/scrollable.rb +82 -0
  54. data/lib/tk/scrollbar.rb +183 -0
  55. data/lib/tk/scrollbox.rb +39 -0
  56. data/lib/tk/selection.rb +86 -0
  57. data/lib/tk/spinbox.rb +144 -0
  58. data/lib/tk/tagfont.rb +43 -0
  59. data/lib/tk/text.rb +1604 -0
  60. data/lib/tk/textimage.rb +88 -0
  61. data/lib/tk/textmark.rb +204 -0
  62. data/lib/tk/texttag.rb +321 -0
  63. data/lib/tk/textwindow.rb +154 -0
  64. data/lib/tk/timer.rb +669 -0
  65. data/lib/tk/toplevel.rb +264 -0
  66. data/lib/tk/ttk_selector.rb +98 -0
  67. data/lib/tk/txtwin_abst.rb +39 -0
  68. data/lib/tk/validation.rb +397 -0
  69. data/lib/tk/variable.rb +1799 -0
  70. data/lib/tk/virtevent.rb +139 -0
  71. data/lib/tk/winfo.rb +392 -0
  72. data/lib/tk/winpkg.rb +156 -0
  73. data/lib/tk/wm.rb +552 -0
  74. data/lib/tk/xim.rb +122 -0
  75. data/lib/tkafter.rb +4 -0
  76. data/lib/tkbgerror.rb +4 -0
  77. data/lib/tkcanvas.rb +4 -0
  78. data/lib/tkclass.rb +47 -0
  79. data/lib/tkconsole.rb +4 -0
  80. data/lib/tkdialog.rb +4 -0
  81. data/lib/tkentry.rb +4 -0
  82. data/lib/tkextlib/ICONS.rb +13 -0
  83. data/lib/tkextlib/ICONS/icons.rb +129 -0
  84. data/lib/tkextlib/ICONS/setup.rb +8 -0
  85. data/lib/tkextlib/SUPPORT_STATUS +198 -0
  86. data/lib/tkextlib/blt.rb +189 -0
  87. data/lib/tkextlib/blt/barchart.rb +79 -0
  88. data/lib/tkextlib/blt/bitmap.rb +112 -0
  89. data/lib/tkextlib/blt/busy.rb +83 -0
  90. data/lib/tkextlib/blt/component.rb +2218 -0
  91. data/lib/tkextlib/blt/container.rb +28 -0
  92. data/lib/tkextlib/blt/cutbuffer.rb +23 -0
  93. data/lib/tkextlib/blt/dragdrop.rb +269 -0
  94. data/lib/tkextlib/blt/eps.rb +32 -0
  95. data/lib/tkextlib/blt/graph.rb +67 -0
  96. data/lib/tkextlib/blt/htext.rb +112 -0
  97. data/lib/tkextlib/blt/setup.rb +8 -0
  98. data/lib/tkextlib/blt/spline.rb +23 -0
  99. data/lib/tkextlib/blt/stripchart.rb +74 -0
  100. data/lib/tkextlib/blt/table.rb +412 -0
  101. data/lib/tkextlib/blt/tabnotebook.rb +110 -0
  102. data/lib/tkextlib/blt/tabset.rb +504 -0
  103. data/lib/tkextlib/blt/ted.rb +68 -0
  104. data/lib/tkextlib/blt/tile.rb +25 -0
  105. data/lib/tkextlib/blt/tile/button.rb +16 -0
  106. data/lib/tkextlib/blt/tile/checkbutton.rb +17 -0
  107. data/lib/tkextlib/blt/tile/frame.rb +16 -0
  108. data/lib/tkextlib/blt/tile/label.rb +16 -0
  109. data/lib/tkextlib/blt/tile/radiobutton.rb +17 -0
  110. data/lib/tkextlib/blt/tile/scrollbar.rb +16 -0
  111. data/lib/tkextlib/blt/tile/toplevel.rb +16 -0
  112. data/lib/tkextlib/blt/tree.rb +1058 -0
  113. data/lib/tkextlib/blt/treeview.rb +1287 -0
  114. data/lib/tkextlib/blt/unix_dnd.rb +141 -0
  115. data/lib/tkextlib/blt/vector.rb +256 -0
  116. data/lib/tkextlib/blt/watch.rb +175 -0
  117. data/lib/tkextlib/blt/win_printer.rb +61 -0
  118. data/lib/tkextlib/blt/winop.rb +107 -0
  119. data/lib/tkextlib/bwidget.rb +153 -0
  120. data/lib/tkextlib/bwidget/arrowbutton.rb +21 -0
  121. data/lib/tkextlib/bwidget/bitmap.rb +21 -0
  122. data/lib/tkextlib/bwidget/button.rb +31 -0
  123. data/lib/tkextlib/bwidget/buttonbox.rb +90 -0
  124. data/lib/tkextlib/bwidget/combobox.rb +62 -0
  125. data/lib/tkextlib/bwidget/dialog.rb +194 -0
  126. data/lib/tkextlib/bwidget/dragsite.rb +31 -0
  127. data/lib/tkextlib/bwidget/dropsite.rb +39 -0
  128. data/lib/tkextlib/bwidget/dynamichelp.rb +63 -0
  129. data/lib/tkextlib/bwidget/entry.rb +43 -0
  130. data/lib/tkextlib/bwidget/label.rb +41 -0
  131. data/lib/tkextlib/bwidget/labelentry.rb +80 -0
  132. data/lib/tkextlib/bwidget/labelframe.rb +52 -0
  133. data/lib/tkextlib/bwidget/listbox.rb +361 -0
  134. data/lib/tkextlib/bwidget/mainframe.rb +132 -0
  135. data/lib/tkextlib/bwidget/messagedlg.rb +192 -0
  136. data/lib/tkextlib/bwidget/notebook.rb +166 -0
  137. data/lib/tkextlib/bwidget/pagesmanager.rb +73 -0
  138. data/lib/tkextlib/bwidget/panedwindow.rb +42 -0
  139. data/lib/tkextlib/bwidget/panelframe.rb +67 -0
  140. data/lib/tkextlib/bwidget/passwddlg.rb +44 -0
  141. data/lib/tkextlib/bwidget/progressbar.rb +20 -0
  142. data/lib/tkextlib/bwidget/progressdlg.rb +58 -0
  143. data/lib/tkextlib/bwidget/scrollableframe.rb +40 -0
  144. data/lib/tkextlib/bwidget/scrolledwindow.rb +48 -0
  145. data/lib/tkextlib/bwidget/scrollview.rb +25 -0
  146. data/lib/tkextlib/bwidget/selectcolor.rb +73 -0
  147. data/lib/tkextlib/bwidget/selectfont.rb +91 -0
  148. data/lib/tkextlib/bwidget/separator.rb +20 -0
  149. data/lib/tkextlib/bwidget/setup.rb +8 -0
  150. data/lib/tkextlib/bwidget/spinbox.rb +98 -0
  151. data/lib/tkextlib/bwidget/statusbar.rb +62 -0
  152. data/lib/tkextlib/bwidget/titleframe.rb +33 -0
  153. data/lib/tkextlib/bwidget/tree.rb +500 -0
  154. data/lib/tkextlib/bwidget/widget.rb +129 -0
  155. data/lib/tkextlib/itcl.rb +13 -0
  156. data/lib/tkextlib/itcl/incr_tcl.rb +178 -0
  157. data/lib/tkextlib/itcl/setup.rb +13 -0
  158. data/lib/tkextlib/itk.rb +13 -0
  159. data/lib/tkextlib/itk/incr_tk.rb +446 -0
  160. data/lib/tkextlib/itk/setup.rb +13 -0
  161. data/lib/tkextlib/iwidgets.rb +94 -0
  162. data/lib/tkextlib/iwidgets/buttonbox.rb +121 -0
  163. data/lib/tkextlib/iwidgets/calendar.rb +125 -0
  164. data/lib/tkextlib/iwidgets/canvasprintbox.rb +53 -0
  165. data/lib/tkextlib/iwidgets/canvasprintdialog.rb +38 -0
  166. data/lib/tkextlib/iwidgets/checkbox.rb +130 -0
  167. data/lib/tkextlib/iwidgets/combobox.rb +104 -0
  168. data/lib/tkextlib/iwidgets/dateentry.rb +20 -0
  169. data/lib/tkextlib/iwidgets/datefield.rb +58 -0
  170. data/lib/tkextlib/iwidgets/dialog.rb +20 -0
  171. data/lib/tkextlib/iwidgets/dialogshell.rb +121 -0
  172. data/lib/tkextlib/iwidgets/disjointlistbox.rb +50 -0
  173. data/lib/tkextlib/iwidgets/entryfield.rb +185 -0
  174. data/lib/tkextlib/iwidgets/extbutton.rb +40 -0
  175. data/lib/tkextlib/iwidgets/extfileselectionbox.rb +46 -0
  176. data/lib/tkextlib/iwidgets/extfileselectiondialog.rb +33 -0
  177. data/lib/tkextlib/iwidgets/feedback.rb +35 -0
  178. data/lib/tkextlib/iwidgets/fileselectionbox.rb +46 -0
  179. data/lib/tkextlib/iwidgets/fileselectiondialog.rb +33 -0
  180. data/lib/tkextlib/iwidgets/finddialog.rb +42 -0
  181. data/lib/tkextlib/iwidgets/hierarchy.rb +365 -0
  182. data/lib/tkextlib/iwidgets/hyperhelp.rb +50 -0
  183. data/lib/tkextlib/iwidgets/labeledframe.rb +39 -0
  184. data/lib/tkextlib/iwidgets/labeledwidget.rb +45 -0
  185. data/lib/tkextlib/iwidgets/mainwindow.rb +67 -0
  186. data/lib/tkextlib/iwidgets/menubar.rb +212 -0
  187. data/lib/tkextlib/iwidgets/messagebox.rb +93 -0
  188. data/lib/tkextlib/iwidgets/messagedialog.rb +20 -0
  189. data/lib/tkextlib/iwidgets/notebook.rb +175 -0
  190. data/lib/tkextlib/iwidgets/optionmenu.rb +92 -0
  191. data/lib/tkextlib/iwidgets/panedwindow.rb +134 -0
  192. data/lib/tkextlib/iwidgets/promptdialog.rb +131 -0
  193. data/lib/tkextlib/iwidgets/pushbutton.rb +35 -0
  194. data/lib/tkextlib/iwidgets/radiobox.rb +121 -0
  195. data/lib/tkextlib/iwidgets/scopedobject.rb +24 -0
  196. data/lib/tkextlib/iwidgets/scrolledcanvas.rb +353 -0
  197. data/lib/tkextlib/iwidgets/scrolledframe.rb +59 -0
  198. data/lib/tkextlib/iwidgets/scrolledhtml.rb +58 -0
  199. data/lib/tkextlib/iwidgets/scrolledlistbox.rb +207 -0
  200. data/lib/tkextlib/iwidgets/scrolledtext.rb +568 -0
  201. data/lib/tkextlib/iwidgets/scrolledwidget.rb +20 -0
  202. data/lib/tkextlib/iwidgets/selectionbox.rb +102 -0
  203. data/lib/tkextlib/iwidgets/selectiondialog.rb +92 -0
  204. data/lib/tkextlib/iwidgets/setup.rb +8 -0
  205. data/lib/tkextlib/iwidgets/shell.rb +38 -0
  206. data/lib/tkextlib/iwidgets/spindate.rb +48 -0
  207. data/lib/tkextlib/iwidgets/spinint.rb +30 -0
  208. data/lib/tkextlib/iwidgets/spinner.rb +169 -0
  209. data/lib/tkextlib/iwidgets/spintime.rb +48 -0
  210. data/lib/tkextlib/iwidgets/tabnotebook.rb +181 -0
  211. data/lib/tkextlib/iwidgets/tabset.rb +145 -0
  212. data/lib/tkextlib/iwidgets/timeentry.rb +25 -0
  213. data/lib/tkextlib/iwidgets/timefield.rb +58 -0
  214. data/lib/tkextlib/iwidgets/toolbar.rb +112 -0
  215. data/lib/tkextlib/iwidgets/watch.rb +56 -0
  216. data/lib/tkextlib/pkg_checker.rb +184 -0
  217. data/lib/tkextlib/setup.rb +8 -0
  218. data/lib/tkextlib/tcllib.rb +105 -0
  219. data/lib/tkextlib/tcllib/autoscroll.rb +158 -0
  220. data/lib/tkextlib/tcllib/ctext.rb +160 -0
  221. data/lib/tkextlib/tcllib/cursor.rb +97 -0
  222. data/lib/tkextlib/tcllib/datefield.rb +57 -0
  223. data/lib/tkextlib/tcllib/dialog.rb +84 -0
  224. data/lib/tkextlib/tcllib/getstring.rb +134 -0
  225. data/lib/tkextlib/tcllib/history.rb +73 -0
  226. data/lib/tkextlib/tcllib/ico.rb +146 -0
  227. data/lib/tkextlib/tcllib/ip_entry.rb +75 -0
  228. data/lib/tkextlib/tcllib/panelframe.rb +78 -0
  229. data/lib/tkextlib/tcllib/plotchart.rb +1404 -0
  230. data/lib/tkextlib/tcllib/ruler.rb +65 -0
  231. data/lib/tkextlib/tcllib/screenruler.rb +68 -0
  232. data/lib/tkextlib/tcllib/scrollwin.rb +61 -0
  233. data/lib/tkextlib/tcllib/setup.rb +8 -0
  234. data/lib/tkextlib/tcllib/style.rb +61 -0
  235. data/lib/tkextlib/tcllib/superframe.rb +51 -0
  236. data/lib/tkextlib/tcllib/swaplist.rb +150 -0
  237. data/lib/tkextlib/tcllib/tablelist.rb +28 -0
  238. data/lib/tkextlib/tcllib/tablelist_core.rb +1072 -0
  239. data/lib/tkextlib/tcllib/tablelist_tile.rb +43 -0
  240. data/lib/tkextlib/tcllib/tkpiechart.rb +314 -0
  241. data/lib/tkextlib/tcllib/tooltip.rb +104 -0
  242. data/lib/tkextlib/tcllib/widget.rb +82 -0
  243. data/lib/tkextlib/tclx.rb +13 -0
  244. data/lib/tkextlib/tclx/setup.rb +8 -0
  245. data/lib/tkextlib/tclx/tclx.rb +74 -0
  246. data/lib/tkextlib/tile.rb +449 -0
  247. data/lib/tkextlib/tile/dialog.rb +102 -0
  248. data/lib/tkextlib/tile/setup.rb +8 -0
  249. data/lib/tkextlib/tile/sizegrip.rb +32 -0
  250. data/lib/tkextlib/tile/style.rb +336 -0
  251. data/lib/tkextlib/tile/tbutton.rb +34 -0
  252. data/lib/tkextlib/tile/tcheckbutton.rb +38 -0
  253. data/lib/tkextlib/tile/tcombobox.rb +55 -0
  254. data/lib/tkextlib/tile/tentry.rb +49 -0
  255. data/lib/tkextlib/tile/tframe.rb +34 -0
  256. data/lib/tkextlib/tile/tlabel.rb +34 -0
  257. data/lib/tkextlib/tile/tlabelframe.rb +38 -0
  258. data/lib/tkextlib/tile/tmenubutton.rb +38 -0
  259. data/lib/tkextlib/tile/tnotebook.rb +147 -0
  260. data/lib/tkextlib/tile/tpaned.rb +245 -0
  261. data/lib/tkextlib/tile/tprogressbar.rb +57 -0
  262. data/lib/tkextlib/tile/tradiobutton.rb +38 -0
  263. data/lib/tkextlib/tile/treeview.rb +1306 -0
  264. data/lib/tkextlib/tile/tscale.rb +56 -0
  265. data/lib/tkextlib/tile/tscrollbar.rb +63 -0
  266. data/lib/tkextlib/tile/tseparator.rb +34 -0
  267. data/lib/tkextlib/tile/tsquare.rb +30 -0
  268. data/lib/tkextlib/tkDND.rb +18 -0
  269. data/lib/tkextlib/tkDND/setup.rb +8 -0
  270. data/lib/tkextlib/tkDND/shape.rb +125 -0
  271. data/lib/tkextlib/tkDND/tkdnd.rb +182 -0
  272. data/lib/tkextlib/tkHTML.rb +13 -0
  273. data/lib/tkextlib/tkHTML/htmlwidget.rb +453 -0
  274. data/lib/tkextlib/tkHTML/setup.rb +8 -0
  275. data/lib/tkextlib/tkimg.rb +36 -0
  276. data/lib/tkextlib/tkimg/bmp.rb +33 -0
  277. data/lib/tkextlib/tkimg/gif.rb +33 -0
  278. data/lib/tkextlib/tkimg/ico.rb +33 -0
  279. data/lib/tkextlib/tkimg/jpeg.rb +33 -0
  280. data/lib/tkextlib/tkimg/pcx.rb +33 -0
  281. data/lib/tkextlib/tkimg/pixmap.rb +44 -0
  282. data/lib/tkextlib/tkimg/png.rb +33 -0
  283. data/lib/tkextlib/tkimg/ppm.rb +33 -0
  284. data/lib/tkextlib/tkimg/ps.rb +33 -0
  285. data/lib/tkextlib/tkimg/setup.rb +8 -0
  286. data/lib/tkextlib/tkimg/sgi.rb +33 -0
  287. data/lib/tkextlib/tkimg/sun.rb +33 -0
  288. data/lib/tkextlib/tkimg/tga.rb +33 -0
  289. data/lib/tkextlib/tkimg/tiff.rb +33 -0
  290. data/lib/tkextlib/tkimg/window.rb +33 -0
  291. data/lib/tkextlib/tkimg/xbm.rb +33 -0
  292. data/lib/tkextlib/tkimg/xpm.rb +33 -0
  293. data/lib/tkextlib/tktable.rb +14 -0
  294. data/lib/tkextlib/tktable/setup.rb +8 -0
  295. data/lib/tkextlib/tktable/tktable.rb +966 -0
  296. data/lib/tkextlib/tktrans.rb +14 -0
  297. data/lib/tkextlib/tktrans/setup.rb +8 -0
  298. data/lib/tkextlib/tktrans/tktrans.rb +64 -0
  299. data/lib/tkextlib/treectrl.rb +13 -0
  300. data/lib/tkextlib/treectrl/setup.rb +8 -0
  301. data/lib/tkextlib/treectrl/tktreectrl.rb +2522 -0
  302. data/lib/tkextlib/trofs.rb +13 -0
  303. data/lib/tkextlib/trofs/setup.rb +8 -0
  304. data/lib/tkextlib/trofs/trofs.rb +51 -0
  305. data/lib/tkextlib/version.rb +6 -0
  306. data/lib/tkextlib/vu.rb +48 -0
  307. data/lib/tkextlib/vu/bargraph.rb +61 -0
  308. data/lib/tkextlib/vu/charts.rb +53 -0
  309. data/lib/tkextlib/vu/dial.rb +102 -0
  310. data/lib/tkextlib/vu/pie.rb +286 -0
  311. data/lib/tkextlib/vu/setup.rb +8 -0
  312. data/lib/tkextlib/vu/spinbox.rb +22 -0
  313. data/lib/tkextlib/winico.rb +14 -0
  314. data/lib/tkextlib/winico/setup.rb +8 -0
  315. data/lib/tkextlib/winico/winico.rb +224 -0
  316. data/lib/tkfont.rb +4 -0
  317. data/lib/tkmacpkg.rb +4 -0
  318. data/lib/tkmenubar.rb +4 -0
  319. data/lib/tkmngfocus.rb +4 -0
  320. data/lib/tkpalette.rb +4 -0
  321. data/lib/tkscrollbox.rb +4 -0
  322. data/lib/tktext.rb +4 -0
  323. data/lib/tkvirtevent.rb +4 -0
  324. data/lib/tkwinpkg.rb +4 -0
  325. data/spec/spec.opts +1 -0
  326. data/spec/spec_helper.rb +9 -0
  327. data/spec/tk-win_spec.rb +7 -0
  328. data/tk-win.gemspec +373 -0
  329. metadata +412 -0
@@ -0,0 +1,8 @@
1
+ #
2
+ # setup.rb -- setup script before calling TkPackage.require()
3
+ #
4
+ # If you need some setup operations (for example, add a library path
5
+ # to the library search path) before using Tcl/Tk library packages
6
+ # wrapped by Ruby scripts in this directory, please write the setup
7
+ # operations in this file.
8
+ #
@@ -0,0 +1,22 @@
1
+ #
2
+ # ::vu::spinbox widget
3
+ # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
4
+ #
5
+ # a standard spinbox (<= 8.3)
6
+ # This is the same as the 8.4 core spinbox widget.
7
+ #
8
+ require 'tk'
9
+
10
+ if (Tk::TK_MAJOR_VERSION < 8 ||
11
+ (Tk::TK_MAJOR_VERSION == 8 && Tk::TK_MINOR_VERSION < 4))
12
+ # call setup script -- <libdir>/tkextlib/vu.rb
13
+ require 'tkextlib/vu.rb'
14
+
15
+ Tk.tk_call('namespace', 'import', '::vu::spinbox')
16
+ end
17
+
18
+ module Tk
19
+ module Vu
20
+ Spinbox = Tk::Spinbox
21
+ end
22
+ end
@@ -0,0 +1,14 @@
1
+ #
2
+ # winico -- Windows Icon extension support
3
+ # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
4
+ #
5
+ require 'tk'
6
+
7
+ # call setup script for general 'tkextlib' libraries
8
+ require 'tkextlib/setup.rb'
9
+
10
+ # call setup script
11
+ require 'tkextlib/tktable/setup.rb'
12
+
13
+ # load library
14
+ require 'tkextlib/winico/winico'
@@ -0,0 +1,8 @@
1
+ #
2
+ # setup.rb -- setup script before calling TkPackage.require()
3
+ #
4
+ # If you need some setup operations (for example, add a library path
5
+ # to the library search path) before using Tcl/Tk library packages
6
+ # wrapped by Ruby scripts in this directory, please write the setup
7
+ # operations in this file.
8
+ #
@@ -0,0 +1,224 @@
1
+ #
2
+ # tkextlib/winico/winico.rb
3
+ # by Hidetoshi NAGAI (nagai@ai.kyutech.ac.jp)
4
+ #
5
+
6
+ require 'tk'
7
+
8
+ # call setup script for general 'tkextlib' libraries
9
+ require 'tkextlib/setup.rb'
10
+
11
+ # call setup script
12
+ require 'tkextlib/winico/setup.rb'
13
+
14
+ # TkPackage.require('winico', '0.5')
15
+ # TkPackage.require('winico', '0.6')
16
+ TkPackage.require('winico')
17
+
18
+ module Tk
19
+ class Winico < TkObject
20
+ PACKAGE_NAME = 'winico'.freeze
21
+ def self.package_name
22
+ PACKAGE_NAME
23
+ end
24
+
25
+ def self.package_version
26
+ begin
27
+ TkPackage.require('winico')
28
+ rescue
29
+ ''
30
+ end
31
+ end
32
+ end
33
+ end
34
+
35
+ class Tk::Winico
36
+ WinicoID_TBL = TkCore::INTERP.create_table
37
+
38
+ TkCore::INTERP.init_ip_env{
39
+ WinicoID_TBL.mutex.synchronize{ WinicoID_TBL.clear }
40
+ }
41
+
42
+ def self.id2obj(id)
43
+ WinicoID_TBL.mutex.synchronize{
44
+ (WinicoID_TBL.key?(id))? WinicoID_TBL[id] : id
45
+ }
46
+ end
47
+
48
+ def self.info
49
+ simplelist(Tk.tk_call('winico', 'info')).collect{|id|
50
+ Tk::Winico.id2obj(id)
51
+ }
52
+ end
53
+
54
+ def self.icon_info(id)
55
+ simplelist(Tk.tk_call('winico', 'info', id)).collect{|inf|
56
+ h = Hash[*list(inf)]
57
+ h.keys.each{|k| h[k[1..-1]] = h.delete(k)}
58
+ }
59
+ end
60
+
61
+ #################################
62
+
63
+ def self.new_from_file(file_name)
64
+ self.new(file_name)
65
+ end
66
+
67
+ def self.new_from_resource(resource_name, file_name = nil)
68
+ self.new(file_name, resource_name)
69
+ end
70
+
71
+ def initialize(file_name, resource_name=nil, winico_id=nil)
72
+ if resource_name
73
+ # from resource
74
+ if file_name
75
+ @id = Tk.tk_call('winico', 'load', resource_name, file_name)
76
+ else
77
+ @id = Tk.tk_call('winico', 'load', resource_name)
78
+ end
79
+ elsif file_name
80
+ # from .ico file
81
+ @id = Tk.tk_call('winico', 'createfrom', file_name)
82
+ elsif winico_id
83
+ @id = winico_id
84
+ else
85
+ fail ArgumentError,
86
+ "must be given proper information from where loading icons"
87
+ end
88
+ @path = @id
89
+ WinicoID_TBL.mutex.synchronize{
90
+ WinicoID_TBL[@id] = self
91
+ }
92
+ end
93
+
94
+ def id
95
+ @id
96
+ end
97
+
98
+ def set_window(win_id, *opts) # opts := ?'big'|'small'?, ?pos?
99
+ # NOTE:: the window, which is denoted by win_id, MUST BE MAPPED.
100
+ # If not, then this may fail or crash.
101
+ tk_call('winico', 'setwindow', win_id, @id, *opts)
102
+ end
103
+
104
+ def delete
105
+ tk_call('winico', 'delete', @id)
106
+ WinicoID_TBL.mutex.synchronize{
107
+ WinicoID_TBL.delete(@id)
108
+ }
109
+ self
110
+ end
111
+ alias destroy delete
112
+
113
+ def info
114
+ Tk::Winico.icon_info(@id)
115
+ end
116
+
117
+ #################################
118
+
119
+ class Winico_callback < TkValidateCommand
120
+ class ValidateArgs < TkUtil::CallbackSubst
121
+ KEY_TBL = [
122
+ [ ?m, ?s, :message ],
123
+ [ ?i, ?x, :icon ],
124
+ [ ?x, ?n, :x ],
125
+ [ ?y, ?n, :y ],
126
+ [ ?X, ?n, :last_x ],
127
+ [ ?Y, ?n, :last_y ],
128
+ [ ?t, ?n, :tickcount ],
129
+ [ ?w, ?n, :icon_idnum ],
130
+ [ ?l, ?n, :msg_idnum ],
131
+ nil
132
+ ]
133
+
134
+ PROC_TBL = [
135
+ [ ?n, TkComm.method(:number) ],
136
+ [ ?s, TkComm.method(:string) ],
137
+ [ ?x, proc{|id|
138
+ Tk::Winico::WinicoID_TBL.mutex.synchronize{
139
+ if Tk::Winico::WinicoID_TBL.key?(id)
140
+ obj = Tk::Winico::WinicoID_TBL[id]
141
+ else
142
+ # Tk::Winico.new(nil, nil, id)
143
+ obj = Tk::Winico.allocate
144
+ obj.instance_eval{ @path = @id = id }
145
+ Tk::Winico::WinicoID_TBL[id] = obj
146
+ end
147
+ obj
148
+ }
149
+ } ],
150
+ nil
151
+ ]
152
+
153
+ =begin
154
+ # for Ruby m17n :: ?x --> String --> char-code ( getbyte(0) )
155
+ KEY_TBL.map!{|inf|
156
+ if inf.kind_of?(Array)
157
+ inf[0] = inf[0].getbyte(0) if inf[0].kind_of?(String)
158
+ inf[1] = inf[1].getbyte(0) if inf[1].kind_of?(String)
159
+ end
160
+ inf
161
+ }
162
+
163
+ PROC_TBL.map!{|inf|
164
+ if inf.kind_of?(Array)
165
+ inf[0] = inf[0].getbyte(0) if inf[0].kind_of?(String)
166
+ end
167
+ inf
168
+ }
169
+ =end
170
+
171
+ _setup_subst_table(KEY_TBL, PROC_TBL);
172
+
173
+ def self.ret_val(val)
174
+ val
175
+ end
176
+ end
177
+
178
+ def self._config_keys
179
+ ['callback']
180
+ end
181
+ end
182
+
183
+ #################################
184
+
185
+ def add_to_taskbar(keys = {})
186
+ keys = _symbolkey2str(keys)
187
+ Winico_callback._config_keys.each{|k|
188
+ if keys[k].kind_of?(Array)
189
+ cmd, *args = keys[k]
190
+ #keys[k] = Winico_callback.new(cmd, args.join(' '))
191
+ keys[k] = Winico_callback.new(cmd, *args)
192
+ # elsif keys[k].kind_of?(Proc)
193
+ elsif TkComm._callback_entry?(keys[k])
194
+ keys[k] = Winico_callback.new(keys[k])
195
+ end
196
+ }
197
+ tk_call('winico', 'taskbar', 'add', @id, *(hash_kv(keys)))
198
+ self
199
+ end
200
+ alias taskbar_add add_to_taskbar
201
+
202
+ def modify_taskbar(keys = {})
203
+ keys = _symbolkey2str(keys)
204
+ Winico_callback._config_keys.each{|k|
205
+ if keys[k].kind_of?(Array)
206
+ cmd, *args = keys[k]
207
+ #keys[k] = Winico_callback.new(cmd, args.join(' '))
208
+ keys[k] = Winico_callback.new(cmd, *args)
209
+ # elsif keys[k].kind_of?(Proc)
210
+ elsif TkComm._callback_entry?(keys[k])
211
+ keys[k] = Winico_callback.new(keys[k])
212
+ end
213
+ }
214
+ tk_call('winico', 'taskbar', 'modify', @id, *(hash_kv(keys)))
215
+ self
216
+ end
217
+ alias taskbar_modify modify_taskbar
218
+
219
+ def delete_from_taskbar
220
+ tk_call('winico', 'taskbar', 'delete', @id)
221
+ self
222
+ end
223
+ alias taskbar_delete delete_from_taskbar
224
+ end
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkfont.rb - load tk/font.rb
3
+ #
4
+ require 'tk/font'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkmacpkg.rb - load tk/macpkg.rb
3
+ #
4
+ require 'tk/macpkg'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkmenubar.rb - load tk/menubar.rb
3
+ #
4
+ require 'tk/menubar'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkmngfocus.rb - load tk/mngfocus.rb
3
+ #
4
+ require 'tk/mngfocus'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkpalette.rb - load tk/palette.rb
3
+ #
4
+ require 'tk/palette'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkscrollbox.rb - load tk/scrollbox.rb
3
+ #
4
+ require 'tk/scrollbox'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tktext.rb - load tk/text.rb
3
+ #
4
+ require 'tk/text'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkvirtevent.rb - load tk/virtevent.rb
3
+ #
4
+ require 'tk/virtevent'
@@ -0,0 +1,4 @@
1
+ #
2
+ # tkwinpkg.rb - load tk/winpkg.rb
3
+ #
4
+ require 'tk/winpkg'
@@ -0,0 +1 @@
1
+ --color
@@ -0,0 +1,9 @@
1
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
2
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
3
+ require 'tk-win'
4
+ require 'spec'
5
+ require 'spec/autorun'
6
+
7
+ Spec::Runner.configure do |config|
8
+
9
+ end
@@ -0,0 +1,7 @@
1
+ require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
+
3
+ describe "TkWin" do
4
+ it "fails" do
5
+ fail "hey buddy, you should probably rename this file and start specing for real"
6
+ end
7
+ end
@@ -0,0 +1,373 @@
1
+ # Generated by jeweler
2
+ # DO NOT EDIT THIS FILE DIRECTLY
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
4
+ # -*- encoding: utf-8 -*-
5
+
6
+ Gem::Specification.new do |s|
7
+ s.name = %q{tk-win}
8
+ s.version = "0.2.0"
9
+ s.platform = %q{x86-mingw32}
10
+
11
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.authors = ["Hidetoshi NAGAI", "Elia Schito"]
13
+ s.date = %q{2010-07-20}
14
+ s.description = %q{RubyTk bindings for windows bundled with Tcl8.5}
15
+ s.email = %q{elia.schito@gmail.com}
16
+ s.extra_rdoc_files = [
17
+ "LICENSE",
18
+ "README.rdoc"
19
+ ]
20
+ s.files = [
21
+ ".document",
22
+ ".gitignore",
23
+ "LICENSE",
24
+ "README.rdoc",
25
+ "Rakefile",
26
+ "VERSION",
27
+ "lib/tcltk.rb",
28
+ "lib/tk.rb",
29
+ "lib/tk/after.rb",
30
+ "lib/tk/autoload.rb",
31
+ "lib/tk/bgerror.rb",
32
+ "lib/tk/bindtag.rb",
33
+ "lib/tk/button.rb",
34
+ "lib/tk/canvas.rb",
35
+ "lib/tk/canvastag.rb",
36
+ "lib/tk/checkbutton.rb",
37
+ "lib/tk/clipboard.rb",
38
+ "lib/tk/clock.rb",
39
+ "lib/tk/composite.rb",
40
+ "lib/tk/console.rb",
41
+ "lib/tk/dialog.rb",
42
+ "lib/tk/encodedstr.rb",
43
+ "lib/tk/entry.rb",
44
+ "lib/tk/event.rb",
45
+ "lib/tk/font.rb",
46
+ "lib/tk/frame.rb",
47
+ "lib/tk/grid.rb",
48
+ "lib/tk/image.rb",
49
+ "lib/tk/itemconfig.rb",
50
+ "lib/tk/itemfont.rb",
51
+ "lib/tk/kinput.rb",
52
+ "lib/tk/label.rb",
53
+ "lib/tk/labelframe.rb",
54
+ "lib/tk/listbox.rb",
55
+ "lib/tk/macpkg.rb",
56
+ "lib/tk/menu.rb",
57
+ "lib/tk/menubar.rb",
58
+ "lib/tk/menuspec.rb",
59
+ "lib/tk/message.rb",
60
+ "lib/tk/mngfocus.rb",
61
+ "lib/tk/msgcat.rb",
62
+ "lib/tk/namespace.rb",
63
+ "lib/tk/optiondb.rb",
64
+ "lib/tk/optionobj.rb",
65
+ "lib/tk/pack.rb",
66
+ "lib/tk/package.rb",
67
+ "lib/tk/palette.rb",
68
+ "lib/tk/panedwindow.rb",
69
+ "lib/tk/place.rb",
70
+ "lib/tk/radiobutton.rb",
71
+ "lib/tk/root.rb",
72
+ "lib/tk/scale.rb",
73
+ "lib/tk/scrollable.rb",
74
+ "lib/tk/scrollbar.rb",
75
+ "lib/tk/scrollbox.rb",
76
+ "lib/tk/selection.rb",
77
+ "lib/tk/spinbox.rb",
78
+ "lib/tk/tagfont.rb",
79
+ "lib/tk/text.rb",
80
+ "lib/tk/textimage.rb",
81
+ "lib/tk/textmark.rb",
82
+ "lib/tk/texttag.rb",
83
+ "lib/tk/textwindow.rb",
84
+ "lib/tk/timer.rb",
85
+ "lib/tk/toplevel.rb",
86
+ "lib/tk/ttk_selector.rb",
87
+ "lib/tk/txtwin_abst.rb",
88
+ "lib/tk/validation.rb",
89
+ "lib/tk/variable.rb",
90
+ "lib/tk/virtevent.rb",
91
+ "lib/tk/winfo.rb",
92
+ "lib/tk/winpkg.rb",
93
+ "lib/tk/wm.rb",
94
+ "lib/tk/xim.rb",
95
+ "lib/tkafter.rb",
96
+ "lib/tkbgerror.rb",
97
+ "lib/tkcanvas.rb",
98
+ "lib/tkclass.rb",
99
+ "lib/tkconsole.rb",
100
+ "lib/tkdialog.rb",
101
+ "lib/tkentry.rb",
102
+ "lib/tkextlib/ICONS.rb",
103
+ "lib/tkextlib/ICONS/icons.rb",
104
+ "lib/tkextlib/ICONS/setup.rb",
105
+ "lib/tkextlib/SUPPORT_STATUS",
106
+ "lib/tkextlib/blt.rb",
107
+ "lib/tkextlib/blt/barchart.rb",
108
+ "lib/tkextlib/blt/bitmap.rb",
109
+ "lib/tkextlib/blt/busy.rb",
110
+ "lib/tkextlib/blt/component.rb",
111
+ "lib/tkextlib/blt/container.rb",
112
+ "lib/tkextlib/blt/cutbuffer.rb",
113
+ "lib/tkextlib/blt/dragdrop.rb",
114
+ "lib/tkextlib/blt/eps.rb",
115
+ "lib/tkextlib/blt/graph.rb",
116
+ "lib/tkextlib/blt/htext.rb",
117
+ "lib/tkextlib/blt/setup.rb",
118
+ "lib/tkextlib/blt/spline.rb",
119
+ "lib/tkextlib/blt/stripchart.rb",
120
+ "lib/tkextlib/blt/table.rb",
121
+ "lib/tkextlib/blt/tabnotebook.rb",
122
+ "lib/tkextlib/blt/tabset.rb",
123
+ "lib/tkextlib/blt/ted.rb",
124
+ "lib/tkextlib/blt/tile.rb",
125
+ "lib/tkextlib/blt/tile/button.rb",
126
+ "lib/tkextlib/blt/tile/checkbutton.rb",
127
+ "lib/tkextlib/blt/tile/frame.rb",
128
+ "lib/tkextlib/blt/tile/label.rb",
129
+ "lib/tkextlib/blt/tile/radiobutton.rb",
130
+ "lib/tkextlib/blt/tile/scrollbar.rb",
131
+ "lib/tkextlib/blt/tile/toplevel.rb",
132
+ "lib/tkextlib/blt/tree.rb",
133
+ "lib/tkextlib/blt/treeview.rb",
134
+ "lib/tkextlib/blt/unix_dnd.rb",
135
+ "lib/tkextlib/blt/vector.rb",
136
+ "lib/tkextlib/blt/watch.rb",
137
+ "lib/tkextlib/blt/win_printer.rb",
138
+ "lib/tkextlib/blt/winop.rb",
139
+ "lib/tkextlib/bwidget.rb",
140
+ "lib/tkextlib/bwidget/arrowbutton.rb",
141
+ "lib/tkextlib/bwidget/bitmap.rb",
142
+ "lib/tkextlib/bwidget/button.rb",
143
+ "lib/tkextlib/bwidget/buttonbox.rb",
144
+ "lib/tkextlib/bwidget/combobox.rb",
145
+ "lib/tkextlib/bwidget/dialog.rb",
146
+ "lib/tkextlib/bwidget/dragsite.rb",
147
+ "lib/tkextlib/bwidget/dropsite.rb",
148
+ "lib/tkextlib/bwidget/dynamichelp.rb",
149
+ "lib/tkextlib/bwidget/entry.rb",
150
+ "lib/tkextlib/bwidget/label.rb",
151
+ "lib/tkextlib/bwidget/labelentry.rb",
152
+ "lib/tkextlib/bwidget/labelframe.rb",
153
+ "lib/tkextlib/bwidget/listbox.rb",
154
+ "lib/tkextlib/bwidget/mainframe.rb",
155
+ "lib/tkextlib/bwidget/messagedlg.rb",
156
+ "lib/tkextlib/bwidget/notebook.rb",
157
+ "lib/tkextlib/bwidget/pagesmanager.rb",
158
+ "lib/tkextlib/bwidget/panedwindow.rb",
159
+ "lib/tkextlib/bwidget/panelframe.rb",
160
+ "lib/tkextlib/bwidget/passwddlg.rb",
161
+ "lib/tkextlib/bwidget/progressbar.rb",
162
+ "lib/tkextlib/bwidget/progressdlg.rb",
163
+ "lib/tkextlib/bwidget/scrollableframe.rb",
164
+ "lib/tkextlib/bwidget/scrolledwindow.rb",
165
+ "lib/tkextlib/bwidget/scrollview.rb",
166
+ "lib/tkextlib/bwidget/selectcolor.rb",
167
+ "lib/tkextlib/bwidget/selectfont.rb",
168
+ "lib/tkextlib/bwidget/separator.rb",
169
+ "lib/tkextlib/bwidget/setup.rb",
170
+ "lib/tkextlib/bwidget/spinbox.rb",
171
+ "lib/tkextlib/bwidget/statusbar.rb",
172
+ "lib/tkextlib/bwidget/titleframe.rb",
173
+ "lib/tkextlib/bwidget/tree.rb",
174
+ "lib/tkextlib/bwidget/widget.rb",
175
+ "lib/tkextlib/itcl.rb",
176
+ "lib/tkextlib/itcl/incr_tcl.rb",
177
+ "lib/tkextlib/itcl/setup.rb",
178
+ "lib/tkextlib/itk.rb",
179
+ "lib/tkextlib/itk/incr_tk.rb",
180
+ "lib/tkextlib/itk/setup.rb",
181
+ "lib/tkextlib/iwidgets.rb",
182
+ "lib/tkextlib/iwidgets/buttonbox.rb",
183
+ "lib/tkextlib/iwidgets/calendar.rb",
184
+ "lib/tkextlib/iwidgets/canvasprintbox.rb",
185
+ "lib/tkextlib/iwidgets/canvasprintdialog.rb",
186
+ "lib/tkextlib/iwidgets/checkbox.rb",
187
+ "lib/tkextlib/iwidgets/combobox.rb",
188
+ "lib/tkextlib/iwidgets/dateentry.rb",
189
+ "lib/tkextlib/iwidgets/datefield.rb",
190
+ "lib/tkextlib/iwidgets/dialog.rb",
191
+ "lib/tkextlib/iwidgets/dialogshell.rb",
192
+ "lib/tkextlib/iwidgets/disjointlistbox.rb",
193
+ "lib/tkextlib/iwidgets/entryfield.rb",
194
+ "lib/tkextlib/iwidgets/extbutton.rb",
195
+ "lib/tkextlib/iwidgets/extfileselectionbox.rb",
196
+ "lib/tkextlib/iwidgets/extfileselectiondialog.rb",
197
+ "lib/tkextlib/iwidgets/feedback.rb",
198
+ "lib/tkextlib/iwidgets/fileselectionbox.rb",
199
+ "lib/tkextlib/iwidgets/fileselectiondialog.rb",
200
+ "lib/tkextlib/iwidgets/finddialog.rb",
201
+ "lib/tkextlib/iwidgets/hierarchy.rb",
202
+ "lib/tkextlib/iwidgets/hyperhelp.rb",
203
+ "lib/tkextlib/iwidgets/labeledframe.rb",
204
+ "lib/tkextlib/iwidgets/labeledwidget.rb",
205
+ "lib/tkextlib/iwidgets/mainwindow.rb",
206
+ "lib/tkextlib/iwidgets/menubar.rb",
207
+ "lib/tkextlib/iwidgets/messagebox.rb",
208
+ "lib/tkextlib/iwidgets/messagedialog.rb",
209
+ "lib/tkextlib/iwidgets/notebook.rb",
210
+ "lib/tkextlib/iwidgets/optionmenu.rb",
211
+ "lib/tkextlib/iwidgets/panedwindow.rb",
212
+ "lib/tkextlib/iwidgets/promptdialog.rb",
213
+ "lib/tkextlib/iwidgets/pushbutton.rb",
214
+ "lib/tkextlib/iwidgets/radiobox.rb",
215
+ "lib/tkextlib/iwidgets/scopedobject.rb",
216
+ "lib/tkextlib/iwidgets/scrolledcanvas.rb",
217
+ "lib/tkextlib/iwidgets/scrolledframe.rb",
218
+ "lib/tkextlib/iwidgets/scrolledhtml.rb",
219
+ "lib/tkextlib/iwidgets/scrolledlistbox.rb",
220
+ "lib/tkextlib/iwidgets/scrolledtext.rb",
221
+ "lib/tkextlib/iwidgets/scrolledwidget.rb",
222
+ "lib/tkextlib/iwidgets/selectionbox.rb",
223
+ "lib/tkextlib/iwidgets/selectiondialog.rb",
224
+ "lib/tkextlib/iwidgets/setup.rb",
225
+ "lib/tkextlib/iwidgets/shell.rb",
226
+ "lib/tkextlib/iwidgets/spindate.rb",
227
+ "lib/tkextlib/iwidgets/spinint.rb",
228
+ "lib/tkextlib/iwidgets/spinner.rb",
229
+ "lib/tkextlib/iwidgets/spintime.rb",
230
+ "lib/tkextlib/iwidgets/tabnotebook.rb",
231
+ "lib/tkextlib/iwidgets/tabset.rb",
232
+ "lib/tkextlib/iwidgets/timeentry.rb",
233
+ "lib/tkextlib/iwidgets/timefield.rb",
234
+ "lib/tkextlib/iwidgets/toolbar.rb",
235
+ "lib/tkextlib/iwidgets/watch.rb",
236
+ "lib/tkextlib/pkg_checker.rb",
237
+ "lib/tkextlib/setup.rb",
238
+ "lib/tkextlib/tcllib.rb",
239
+ "lib/tkextlib/tcllib/autoscroll.rb",
240
+ "lib/tkextlib/tcllib/ctext.rb",
241
+ "lib/tkextlib/tcllib/cursor.rb",
242
+ "lib/tkextlib/tcllib/datefield.rb",
243
+ "lib/tkextlib/tcllib/dialog.rb",
244
+ "lib/tkextlib/tcllib/getstring.rb",
245
+ "lib/tkextlib/tcllib/history.rb",
246
+ "lib/tkextlib/tcllib/ico.rb",
247
+ "lib/tkextlib/tcllib/ip_entry.rb",
248
+ "lib/tkextlib/tcllib/panelframe.rb",
249
+ "lib/tkextlib/tcllib/plotchart.rb",
250
+ "lib/tkextlib/tcllib/ruler.rb",
251
+ "lib/tkextlib/tcllib/screenruler.rb",
252
+ "lib/tkextlib/tcllib/scrollwin.rb",
253
+ "lib/tkextlib/tcllib/setup.rb",
254
+ "lib/tkextlib/tcllib/style.rb",
255
+ "lib/tkextlib/tcllib/superframe.rb",
256
+ "lib/tkextlib/tcllib/swaplist.rb",
257
+ "lib/tkextlib/tcllib/tablelist.rb",
258
+ "lib/tkextlib/tcllib/tablelist_core.rb",
259
+ "lib/tkextlib/tcllib/tablelist_tile.rb",
260
+ "lib/tkextlib/tcllib/tkpiechart.rb",
261
+ "lib/tkextlib/tcllib/tooltip.rb",
262
+ "lib/tkextlib/tcllib/widget.rb",
263
+ "lib/tkextlib/tclx.rb",
264
+ "lib/tkextlib/tclx/setup.rb",
265
+ "lib/tkextlib/tclx/tclx.rb",
266
+ "lib/tkextlib/tile.rb",
267
+ "lib/tkextlib/tile/dialog.rb",
268
+ "lib/tkextlib/tile/setup.rb",
269
+ "lib/tkextlib/tile/sizegrip.rb",
270
+ "lib/tkextlib/tile/style.rb",
271
+ "lib/tkextlib/tile/tbutton.rb",
272
+ "lib/tkextlib/tile/tcheckbutton.rb",
273
+ "lib/tkextlib/tile/tcombobox.rb",
274
+ "lib/tkextlib/tile/tentry.rb",
275
+ "lib/tkextlib/tile/tframe.rb",
276
+ "lib/tkextlib/tile/tlabel.rb",
277
+ "lib/tkextlib/tile/tlabelframe.rb",
278
+ "lib/tkextlib/tile/tmenubutton.rb",
279
+ "lib/tkextlib/tile/tnotebook.rb",
280
+ "lib/tkextlib/tile/tpaned.rb",
281
+ "lib/tkextlib/tile/tprogressbar.rb",
282
+ "lib/tkextlib/tile/tradiobutton.rb",
283
+ "lib/tkextlib/tile/treeview.rb",
284
+ "lib/tkextlib/tile/tscale.rb",
285
+ "lib/tkextlib/tile/tscrollbar.rb",
286
+ "lib/tkextlib/tile/tseparator.rb",
287
+ "lib/tkextlib/tile/tsquare.rb",
288
+ "lib/tkextlib/tkDND.rb",
289
+ "lib/tkextlib/tkDND/setup.rb",
290
+ "lib/tkextlib/tkDND/shape.rb",
291
+ "lib/tkextlib/tkDND/tkdnd.rb",
292
+ "lib/tkextlib/tkHTML.rb",
293
+ "lib/tkextlib/tkHTML/htmlwidget.rb",
294
+ "lib/tkextlib/tkHTML/setup.rb",
295
+ "lib/tkextlib/tkimg.rb",
296
+ "lib/tkextlib/tkimg/bmp.rb",
297
+ "lib/tkextlib/tkimg/gif.rb",
298
+ "lib/tkextlib/tkimg/ico.rb",
299
+ "lib/tkextlib/tkimg/jpeg.rb",
300
+ "lib/tkextlib/tkimg/pcx.rb",
301
+ "lib/tkextlib/tkimg/pixmap.rb",
302
+ "lib/tkextlib/tkimg/png.rb",
303
+ "lib/tkextlib/tkimg/ppm.rb",
304
+ "lib/tkextlib/tkimg/ps.rb",
305
+ "lib/tkextlib/tkimg/setup.rb",
306
+ "lib/tkextlib/tkimg/sgi.rb",
307
+ "lib/tkextlib/tkimg/sun.rb",
308
+ "lib/tkextlib/tkimg/tga.rb",
309
+ "lib/tkextlib/tkimg/tiff.rb",
310
+ "lib/tkextlib/tkimg/window.rb",
311
+ "lib/tkextlib/tkimg/xbm.rb",
312
+ "lib/tkextlib/tkimg/xpm.rb",
313
+ "lib/tkextlib/tktable.rb",
314
+ "lib/tkextlib/tktable/setup.rb",
315
+ "lib/tkextlib/tktable/tktable.rb",
316
+ "lib/tkextlib/tktrans.rb",
317
+ "lib/tkextlib/tktrans/setup.rb",
318
+ "lib/tkextlib/tktrans/tktrans.rb",
319
+ "lib/tkextlib/treectrl.rb",
320
+ "lib/tkextlib/treectrl/setup.rb",
321
+ "lib/tkextlib/treectrl/tktreectrl.rb",
322
+ "lib/tkextlib/trofs.rb",
323
+ "lib/tkextlib/trofs/setup.rb",
324
+ "lib/tkextlib/trofs/trofs.rb",
325
+ "lib/tkextlib/version.rb",
326
+ "lib/tkextlib/vu.rb",
327
+ "lib/tkextlib/vu/bargraph.rb",
328
+ "lib/tkextlib/vu/charts.rb",
329
+ "lib/tkextlib/vu/dial.rb",
330
+ "lib/tkextlib/vu/pie.rb",
331
+ "lib/tkextlib/vu/setup.rb",
332
+ "lib/tkextlib/vu/spinbox.rb",
333
+ "lib/tkextlib/winico.rb",
334
+ "lib/tkextlib/winico/setup.rb",
335
+ "lib/tkextlib/winico/winico.rb",
336
+ "lib/tkfont.rb",
337
+ "lib/tkmacpkg.rb",
338
+ "lib/tkmenubar.rb",
339
+ "lib/tkmngfocus.rb",
340
+ "lib/tkpalette.rb",
341
+ "lib/tkscrollbox.rb",
342
+ "lib/tktext.rb",
343
+ "lib/tkvirtevent.rb",
344
+ "lib/tkwinpkg.rb",
345
+ "spec/spec.opts",
346
+ "spec/spec_helper.rb",
347
+ "spec/tk-win_spec.rb",
348
+ "tk-win.gemspec"
349
+ ]
350
+ s.homepage = %q{http://github.com/elia/tk-win}
351
+ s.rdoc_options = ["--charset=UTF-8"]
352
+ s.require_paths = ["lib"]
353
+ s.rubygems_version = %q{1.3.7}
354
+ s.summary = %q{RubyTk bindings for windows bundled with tcltklib and tkutil}
355
+ s.test_files = [
356
+ "spec/spec_helper.rb",
357
+ "spec/tk-win_spec.rb"
358
+ ]
359
+
360
+ if s.respond_to? :specification_version then
361
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
362
+ s.specification_version = 3
363
+
364
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
365
+ s.add_development_dependency(%q<rspec>, ["~> 1.2.9"])
366
+ else
367
+ s.add_dependency(%q<rspec>, ["~> 1.2.9"])
368
+ end
369
+ else
370
+ s.add_dependency(%q<rspec>, ["~> 1.2.9"])
371
+ end
372
+ end
373
+