tk-win 0.2.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/.document +5 -0
- data/.gitignore +21 -0
- data/LICENSE +20 -0
- data/README.rdoc +17 -0
- data/Rakefile +46 -0
- data/VERSION +1 -0
- data/lib/tcltk.rb +367 -0
- data/lib/tk.rb +5682 -0
- data/lib/tk/after.rb +6 -0
- data/lib/tk/autoload.rb +760 -0
- data/lib/tk/bgerror.rb +29 -0
- data/lib/tk/bindtag.rb +138 -0
- data/lib/tk/button.rb +31 -0
- data/lib/tk/canvas.rb +816 -0
- data/lib/tk/canvastag.rb +459 -0
- data/lib/tk/checkbutton.rb +32 -0
- data/lib/tk/clipboard.rb +75 -0
- data/lib/tk/clock.rb +71 -0
- data/lib/tk/composite.rb +484 -0
- data/lib/tk/console.rb +52 -0
- data/lib/tk/dialog.rb +326 -0
- data/lib/tk/encodedstr.rb +187 -0
- data/lib/tk/entry.rb +120 -0
- data/lib/tk/event.rb +562 -0
- data/lib/tk/font.rb +2351 -0
- data/lib/tk/frame.rb +132 -0
- data/lib/tk/grid.rb +279 -0
- data/lib/tk/image.rb +275 -0
- data/lib/tk/itemconfig.rb +1222 -0
- data/lib/tk/itemfont.rb +327 -0
- data/lib/tk/kinput.rb +71 -0
- data/lib/tk/label.rb +22 -0
- data/lib/tk/labelframe.rb +31 -0
- data/lib/tk/listbox.rb +284 -0
- data/lib/tk/macpkg.rb +80 -0
- data/lib/tk/menu.rb +718 -0
- data/lib/tk/menubar.rb +137 -0
- data/lib/tk/menuspec.rb +456 -0
- data/lib/tk/message.rb +24 -0
- data/lib/tk/mngfocus.rb +33 -0
- data/lib/tk/msgcat.rb +296 -0
- data/lib/tk/namespace.rb +551 -0
- data/lib/tk/optiondb.rb +377 -0
- data/lib/tk/optionobj.rb +212 -0
- data/lib/tk/pack.rb +107 -0
- data/lib/tk/package.rb +143 -0
- data/lib/tk/palette.rb +55 -0
- data/lib/tk/panedwindow.rb +260 -0
- data/lib/tk/place.rb +128 -0
- data/lib/tk/radiobutton.rb +73 -0
- data/lib/tk/root.rb +95 -0
- data/lib/tk/scale.rb +112 -0
- data/lib/tk/scrollable.rb +82 -0
- data/lib/tk/scrollbar.rb +183 -0
- data/lib/tk/scrollbox.rb +39 -0
- data/lib/tk/selection.rb +86 -0
- data/lib/tk/spinbox.rb +144 -0
- data/lib/tk/tagfont.rb +43 -0
- data/lib/tk/text.rb +1604 -0
- data/lib/tk/textimage.rb +88 -0
- data/lib/tk/textmark.rb +204 -0
- data/lib/tk/texttag.rb +321 -0
- data/lib/tk/textwindow.rb +154 -0
- data/lib/tk/timer.rb +669 -0
- data/lib/tk/toplevel.rb +264 -0
- data/lib/tk/ttk_selector.rb +98 -0
- data/lib/tk/txtwin_abst.rb +39 -0
- data/lib/tk/validation.rb +397 -0
- data/lib/tk/variable.rb +1799 -0
- data/lib/tk/virtevent.rb +139 -0
- data/lib/tk/winfo.rb +392 -0
- data/lib/tk/winpkg.rb +156 -0
- data/lib/tk/wm.rb +552 -0
- data/lib/tk/xim.rb +122 -0
- data/lib/tkafter.rb +4 -0
- data/lib/tkbgerror.rb +4 -0
- data/lib/tkcanvas.rb +4 -0
- data/lib/tkclass.rb +47 -0
- data/lib/tkconsole.rb +4 -0
- data/lib/tkdialog.rb +4 -0
- data/lib/tkentry.rb +4 -0
- data/lib/tkextlib/ICONS.rb +13 -0
- data/lib/tkextlib/ICONS/icons.rb +129 -0
- data/lib/tkextlib/ICONS/setup.rb +8 -0
- data/lib/tkextlib/SUPPORT_STATUS +198 -0
- data/lib/tkextlib/blt.rb +189 -0
- data/lib/tkextlib/blt/barchart.rb +79 -0
- data/lib/tkextlib/blt/bitmap.rb +112 -0
- data/lib/tkextlib/blt/busy.rb +83 -0
- data/lib/tkextlib/blt/component.rb +2218 -0
- data/lib/tkextlib/blt/container.rb +28 -0
- data/lib/tkextlib/blt/cutbuffer.rb +23 -0
- data/lib/tkextlib/blt/dragdrop.rb +269 -0
- data/lib/tkextlib/blt/eps.rb +32 -0
- data/lib/tkextlib/blt/graph.rb +67 -0
- data/lib/tkextlib/blt/htext.rb +112 -0
- data/lib/tkextlib/blt/setup.rb +8 -0
- data/lib/tkextlib/blt/spline.rb +23 -0
- data/lib/tkextlib/blt/stripchart.rb +74 -0
- data/lib/tkextlib/blt/table.rb +412 -0
- data/lib/tkextlib/blt/tabnotebook.rb +110 -0
- data/lib/tkextlib/blt/tabset.rb +504 -0
- data/lib/tkextlib/blt/ted.rb +68 -0
- data/lib/tkextlib/blt/tile.rb +25 -0
- data/lib/tkextlib/blt/tile/button.rb +16 -0
- data/lib/tkextlib/blt/tile/checkbutton.rb +17 -0
- data/lib/tkextlib/blt/tile/frame.rb +16 -0
- data/lib/tkextlib/blt/tile/label.rb +16 -0
- data/lib/tkextlib/blt/tile/radiobutton.rb +17 -0
- data/lib/tkextlib/blt/tile/scrollbar.rb +16 -0
- data/lib/tkextlib/blt/tile/toplevel.rb +16 -0
- data/lib/tkextlib/blt/tree.rb +1058 -0
- data/lib/tkextlib/blt/treeview.rb +1287 -0
- data/lib/tkextlib/blt/unix_dnd.rb +141 -0
- data/lib/tkextlib/blt/vector.rb +256 -0
- data/lib/tkextlib/blt/watch.rb +175 -0
- data/lib/tkextlib/blt/win_printer.rb +61 -0
- data/lib/tkextlib/blt/winop.rb +107 -0
- data/lib/tkextlib/bwidget.rb +153 -0
- data/lib/tkextlib/bwidget/arrowbutton.rb +21 -0
- data/lib/tkextlib/bwidget/bitmap.rb +21 -0
- data/lib/tkextlib/bwidget/button.rb +31 -0
- data/lib/tkextlib/bwidget/buttonbox.rb +90 -0
- data/lib/tkextlib/bwidget/combobox.rb +62 -0
- data/lib/tkextlib/bwidget/dialog.rb +194 -0
- data/lib/tkextlib/bwidget/dragsite.rb +31 -0
- data/lib/tkextlib/bwidget/dropsite.rb +39 -0
- data/lib/tkextlib/bwidget/dynamichelp.rb +63 -0
- data/lib/tkextlib/bwidget/entry.rb +43 -0
- data/lib/tkextlib/bwidget/label.rb +41 -0
- data/lib/tkextlib/bwidget/labelentry.rb +80 -0
- data/lib/tkextlib/bwidget/labelframe.rb +52 -0
- data/lib/tkextlib/bwidget/listbox.rb +361 -0
- data/lib/tkextlib/bwidget/mainframe.rb +132 -0
- data/lib/tkextlib/bwidget/messagedlg.rb +192 -0
- data/lib/tkextlib/bwidget/notebook.rb +166 -0
- data/lib/tkextlib/bwidget/pagesmanager.rb +73 -0
- data/lib/tkextlib/bwidget/panedwindow.rb +42 -0
- data/lib/tkextlib/bwidget/panelframe.rb +67 -0
- data/lib/tkextlib/bwidget/passwddlg.rb +44 -0
- data/lib/tkextlib/bwidget/progressbar.rb +20 -0
- data/lib/tkextlib/bwidget/progressdlg.rb +58 -0
- data/lib/tkextlib/bwidget/scrollableframe.rb +40 -0
- data/lib/tkextlib/bwidget/scrolledwindow.rb +48 -0
- data/lib/tkextlib/bwidget/scrollview.rb +25 -0
- data/lib/tkextlib/bwidget/selectcolor.rb +73 -0
- data/lib/tkextlib/bwidget/selectfont.rb +91 -0
- data/lib/tkextlib/bwidget/separator.rb +20 -0
- data/lib/tkextlib/bwidget/setup.rb +8 -0
- data/lib/tkextlib/bwidget/spinbox.rb +98 -0
- data/lib/tkextlib/bwidget/statusbar.rb +62 -0
- data/lib/tkextlib/bwidget/titleframe.rb +33 -0
- data/lib/tkextlib/bwidget/tree.rb +500 -0
- data/lib/tkextlib/bwidget/widget.rb +129 -0
- data/lib/tkextlib/itcl.rb +13 -0
- data/lib/tkextlib/itcl/incr_tcl.rb +178 -0
- data/lib/tkextlib/itcl/setup.rb +13 -0
- data/lib/tkextlib/itk.rb +13 -0
- data/lib/tkextlib/itk/incr_tk.rb +446 -0
- data/lib/tkextlib/itk/setup.rb +13 -0
- data/lib/tkextlib/iwidgets.rb +94 -0
- data/lib/tkextlib/iwidgets/buttonbox.rb +121 -0
- data/lib/tkextlib/iwidgets/calendar.rb +125 -0
- data/lib/tkextlib/iwidgets/canvasprintbox.rb +53 -0
- data/lib/tkextlib/iwidgets/canvasprintdialog.rb +38 -0
- data/lib/tkextlib/iwidgets/checkbox.rb +130 -0
- data/lib/tkextlib/iwidgets/combobox.rb +104 -0
- data/lib/tkextlib/iwidgets/dateentry.rb +20 -0
- data/lib/tkextlib/iwidgets/datefield.rb +58 -0
- data/lib/tkextlib/iwidgets/dialog.rb +20 -0
- data/lib/tkextlib/iwidgets/dialogshell.rb +121 -0
- data/lib/tkextlib/iwidgets/disjointlistbox.rb +50 -0
- data/lib/tkextlib/iwidgets/entryfield.rb +185 -0
- data/lib/tkextlib/iwidgets/extbutton.rb +40 -0
- data/lib/tkextlib/iwidgets/extfileselectionbox.rb +46 -0
- data/lib/tkextlib/iwidgets/extfileselectiondialog.rb +33 -0
- data/lib/tkextlib/iwidgets/feedback.rb +35 -0
- data/lib/tkextlib/iwidgets/fileselectionbox.rb +46 -0
- data/lib/tkextlib/iwidgets/fileselectiondialog.rb +33 -0
- data/lib/tkextlib/iwidgets/finddialog.rb +42 -0
- data/lib/tkextlib/iwidgets/hierarchy.rb +365 -0
- data/lib/tkextlib/iwidgets/hyperhelp.rb +50 -0
- data/lib/tkextlib/iwidgets/labeledframe.rb +39 -0
- data/lib/tkextlib/iwidgets/labeledwidget.rb +45 -0
- data/lib/tkextlib/iwidgets/mainwindow.rb +67 -0
- data/lib/tkextlib/iwidgets/menubar.rb +212 -0
- data/lib/tkextlib/iwidgets/messagebox.rb +93 -0
- data/lib/tkextlib/iwidgets/messagedialog.rb +20 -0
- data/lib/tkextlib/iwidgets/notebook.rb +175 -0
- data/lib/tkextlib/iwidgets/optionmenu.rb +92 -0
- data/lib/tkextlib/iwidgets/panedwindow.rb +134 -0
- data/lib/tkextlib/iwidgets/promptdialog.rb +131 -0
- data/lib/tkextlib/iwidgets/pushbutton.rb +35 -0
- data/lib/tkextlib/iwidgets/radiobox.rb +121 -0
- data/lib/tkextlib/iwidgets/scopedobject.rb +24 -0
- data/lib/tkextlib/iwidgets/scrolledcanvas.rb +353 -0
- data/lib/tkextlib/iwidgets/scrolledframe.rb +59 -0
- data/lib/tkextlib/iwidgets/scrolledhtml.rb +58 -0
- data/lib/tkextlib/iwidgets/scrolledlistbox.rb +207 -0
- data/lib/tkextlib/iwidgets/scrolledtext.rb +568 -0
- data/lib/tkextlib/iwidgets/scrolledwidget.rb +20 -0
- data/lib/tkextlib/iwidgets/selectionbox.rb +102 -0
- data/lib/tkextlib/iwidgets/selectiondialog.rb +92 -0
- data/lib/tkextlib/iwidgets/setup.rb +8 -0
- data/lib/tkextlib/iwidgets/shell.rb +38 -0
- data/lib/tkextlib/iwidgets/spindate.rb +48 -0
- data/lib/tkextlib/iwidgets/spinint.rb +30 -0
- data/lib/tkextlib/iwidgets/spinner.rb +169 -0
- data/lib/tkextlib/iwidgets/spintime.rb +48 -0
- data/lib/tkextlib/iwidgets/tabnotebook.rb +181 -0
- data/lib/tkextlib/iwidgets/tabset.rb +145 -0
- data/lib/tkextlib/iwidgets/timeentry.rb +25 -0
- data/lib/tkextlib/iwidgets/timefield.rb +58 -0
- data/lib/tkextlib/iwidgets/toolbar.rb +112 -0
- data/lib/tkextlib/iwidgets/watch.rb +56 -0
- data/lib/tkextlib/pkg_checker.rb +184 -0
- data/lib/tkextlib/setup.rb +8 -0
- data/lib/tkextlib/tcllib.rb +105 -0
- data/lib/tkextlib/tcllib/autoscroll.rb +158 -0
- data/lib/tkextlib/tcllib/ctext.rb +160 -0
- data/lib/tkextlib/tcllib/cursor.rb +97 -0
- data/lib/tkextlib/tcllib/datefield.rb +57 -0
- data/lib/tkextlib/tcllib/dialog.rb +84 -0
- data/lib/tkextlib/tcllib/getstring.rb +134 -0
- data/lib/tkextlib/tcllib/history.rb +73 -0
- data/lib/tkextlib/tcllib/ico.rb +146 -0
- data/lib/tkextlib/tcllib/ip_entry.rb +75 -0
- data/lib/tkextlib/tcllib/panelframe.rb +78 -0
- data/lib/tkextlib/tcllib/plotchart.rb +1404 -0
- data/lib/tkextlib/tcllib/ruler.rb +65 -0
- data/lib/tkextlib/tcllib/screenruler.rb +68 -0
- data/lib/tkextlib/tcllib/scrollwin.rb +61 -0
- data/lib/tkextlib/tcllib/setup.rb +8 -0
- data/lib/tkextlib/tcllib/style.rb +61 -0
- data/lib/tkextlib/tcllib/superframe.rb +51 -0
- data/lib/tkextlib/tcllib/swaplist.rb +150 -0
- data/lib/tkextlib/tcllib/tablelist.rb +28 -0
- data/lib/tkextlib/tcllib/tablelist_core.rb +1072 -0
- data/lib/tkextlib/tcllib/tablelist_tile.rb +43 -0
- data/lib/tkextlib/tcllib/tkpiechart.rb +314 -0
- data/lib/tkextlib/tcllib/tooltip.rb +104 -0
- data/lib/tkextlib/tcllib/widget.rb +82 -0
- data/lib/tkextlib/tclx.rb +13 -0
- data/lib/tkextlib/tclx/setup.rb +8 -0
- data/lib/tkextlib/tclx/tclx.rb +74 -0
- data/lib/tkextlib/tile.rb +449 -0
- data/lib/tkextlib/tile/dialog.rb +102 -0
- data/lib/tkextlib/tile/setup.rb +8 -0
- data/lib/tkextlib/tile/sizegrip.rb +32 -0
- data/lib/tkextlib/tile/style.rb +336 -0
- data/lib/tkextlib/tile/tbutton.rb +34 -0
- data/lib/tkextlib/tile/tcheckbutton.rb +38 -0
- data/lib/tkextlib/tile/tcombobox.rb +55 -0
- data/lib/tkextlib/tile/tentry.rb +49 -0
- data/lib/tkextlib/tile/tframe.rb +34 -0
- data/lib/tkextlib/tile/tlabel.rb +34 -0
- data/lib/tkextlib/tile/tlabelframe.rb +38 -0
- data/lib/tkextlib/tile/tmenubutton.rb +38 -0
- data/lib/tkextlib/tile/tnotebook.rb +147 -0
- data/lib/tkextlib/tile/tpaned.rb +245 -0
- data/lib/tkextlib/tile/tprogressbar.rb +57 -0
- data/lib/tkextlib/tile/tradiobutton.rb +38 -0
- data/lib/tkextlib/tile/treeview.rb +1306 -0
- data/lib/tkextlib/tile/tscale.rb +56 -0
- data/lib/tkextlib/tile/tscrollbar.rb +63 -0
- data/lib/tkextlib/tile/tseparator.rb +34 -0
- data/lib/tkextlib/tile/tsquare.rb +30 -0
- data/lib/tkextlib/tkDND.rb +18 -0
- data/lib/tkextlib/tkDND/setup.rb +8 -0
- data/lib/tkextlib/tkDND/shape.rb +125 -0
- data/lib/tkextlib/tkDND/tkdnd.rb +182 -0
- data/lib/tkextlib/tkHTML.rb +13 -0
- data/lib/tkextlib/tkHTML/htmlwidget.rb +453 -0
- data/lib/tkextlib/tkHTML/setup.rb +8 -0
- data/lib/tkextlib/tkimg.rb +36 -0
- data/lib/tkextlib/tkimg/bmp.rb +33 -0
- data/lib/tkextlib/tkimg/gif.rb +33 -0
- data/lib/tkextlib/tkimg/ico.rb +33 -0
- data/lib/tkextlib/tkimg/jpeg.rb +33 -0
- data/lib/tkextlib/tkimg/pcx.rb +33 -0
- data/lib/tkextlib/tkimg/pixmap.rb +44 -0
- data/lib/tkextlib/tkimg/png.rb +33 -0
- data/lib/tkextlib/tkimg/ppm.rb +33 -0
- data/lib/tkextlib/tkimg/ps.rb +33 -0
- data/lib/tkextlib/tkimg/setup.rb +8 -0
- data/lib/tkextlib/tkimg/sgi.rb +33 -0
- data/lib/tkextlib/tkimg/sun.rb +33 -0
- data/lib/tkextlib/tkimg/tga.rb +33 -0
- data/lib/tkextlib/tkimg/tiff.rb +33 -0
- data/lib/tkextlib/tkimg/window.rb +33 -0
- data/lib/tkextlib/tkimg/xbm.rb +33 -0
- data/lib/tkextlib/tkimg/xpm.rb +33 -0
- data/lib/tkextlib/tktable.rb +14 -0
- data/lib/tkextlib/tktable/setup.rb +8 -0
- data/lib/tkextlib/tktable/tktable.rb +966 -0
- data/lib/tkextlib/tktrans.rb +14 -0
- data/lib/tkextlib/tktrans/setup.rb +8 -0
- data/lib/tkextlib/tktrans/tktrans.rb +64 -0
- data/lib/tkextlib/treectrl.rb +13 -0
- data/lib/tkextlib/treectrl/setup.rb +8 -0
- data/lib/tkextlib/treectrl/tktreectrl.rb +2522 -0
- data/lib/tkextlib/trofs.rb +13 -0
- data/lib/tkextlib/trofs/setup.rb +8 -0
- data/lib/tkextlib/trofs/trofs.rb +51 -0
- data/lib/tkextlib/version.rb +6 -0
- data/lib/tkextlib/vu.rb +48 -0
- data/lib/tkextlib/vu/bargraph.rb +61 -0
- data/lib/tkextlib/vu/charts.rb +53 -0
- data/lib/tkextlib/vu/dial.rb +102 -0
- data/lib/tkextlib/vu/pie.rb +286 -0
- data/lib/tkextlib/vu/setup.rb +8 -0
- data/lib/tkextlib/vu/spinbox.rb +22 -0
- data/lib/tkextlib/winico.rb +14 -0
- data/lib/tkextlib/winico/setup.rb +8 -0
- data/lib/tkextlib/winico/winico.rb +224 -0
- data/lib/tkfont.rb +4 -0
- data/lib/tkmacpkg.rb +4 -0
- data/lib/tkmenubar.rb +4 -0
- data/lib/tkmngfocus.rb +4 -0
- data/lib/tkpalette.rb +4 -0
- data/lib/tkscrollbox.rb +4 -0
- data/lib/tktext.rb +4 -0
- data/lib/tkvirtevent.rb +4 -0
- data/lib/tkwinpkg.rb +4 -0
- data/spec/spec.opts +1 -0
- data/spec/spec_helper.rb +9 -0
- data/spec/tk-win_spec.rb +7 -0
- data/tk-win.gemspec +373 -0
- 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
|
data/lib/tkfont.rb
ADDED
data/lib/tkmacpkg.rb
ADDED
data/lib/tkmenubar.rb
ADDED
data/lib/tkmngfocus.rb
ADDED
data/lib/tkpalette.rb
ADDED
data/lib/tkscrollbox.rb
ADDED
data/lib/tktext.rb
ADDED
data/lib/tkvirtevent.rb
ADDED
data/lib/tkwinpkg.rb
ADDED
data/spec/spec.opts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/spec/spec_helper.rb
ADDED
data/spec/tk-win_spec.rb
ADDED
data/tk-win.gemspec
ADDED
@@ -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
|
+
|