tk 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/MANUAL_tcltklib.ja +1 -1
- data/README.md +8 -0
- data/ext/tk/tkutil/tkutil.c +2 -2
- data/lib/multi-tk.rb +2 -2
- data/lib/thread_tk.rb +1 -1
- data/lib/tk/bgerror.rb +1 -1
- data/lib/tk/bindtag.rb +1 -1
- data/lib/tk/busy.rb +1 -1
- data/lib/tk/button.rb +1 -1
- data/lib/tk/canvas.rb +1 -1
- data/lib/tk/canvastag.rb +1 -1
- data/lib/tk/checkbutton.rb +1 -1
- data/lib/tk/clipboard.rb +1 -1
- data/lib/tk/clock.rb +1 -1
- data/lib/tk/composite.rb +1 -1
- data/lib/tk/console.rb +1 -1
- data/lib/tk/dialog.rb +1 -1
- data/lib/tk/encodedstr.rb +1 -1
- data/lib/tk/entry.rb +1 -1
- data/lib/tk/font.rb +1 -1
- data/lib/tk/fontchooser.rb +1 -1
- data/lib/tk/frame.rb +1 -1
- data/lib/tk/grid.rb +1 -1
- data/lib/tk/image.rb +1 -1
- data/lib/tk/itemconfig.rb +1 -1
- data/lib/tk/itemfont.rb +1 -1
- data/lib/tk/kinput.rb +1 -1
- data/lib/tk/label.rb +1 -1
- data/lib/tk/labelframe.rb +1 -1
- data/lib/tk/listbox.rb +1 -1
- data/lib/tk/macpkg.rb +1 -1
- data/lib/tk/menu.rb +1 -1
- data/lib/tk/menubar.rb +1 -1
- data/lib/tk/message.rb +1 -1
- data/lib/tk/mngfocus.rb +1 -1
- data/lib/tk/msgcat.rb +1 -1
- data/lib/tk/namespace.rb +1 -1
- data/lib/tk/optiondb.rb +1 -1
- data/lib/tk/optionobj.rb +1 -1
- data/lib/tk/pack.rb +1 -1
- data/lib/tk/package.rb +1 -1
- data/lib/tk/palette.rb +1 -1
- data/lib/tk/panedwindow.rb +1 -1
- data/lib/tk/place.rb +1 -1
- data/lib/tk/radiobutton.rb +1 -1
- data/lib/tk/root.rb +1 -1
- data/lib/tk/scale.rb +1 -1
- data/lib/tk/scrollable.rb +1 -1
- data/lib/tk/scrollbar.rb +1 -1
- data/lib/tk/scrollbox.rb +1 -1
- data/lib/tk/selection.rb +1 -1
- data/lib/tk/spinbox.rb +1 -1
- data/lib/tk/tagfont.rb +1 -1
- data/lib/tk/text.rb +1 -1
- data/lib/tk/textimage.rb +1 -1
- data/lib/tk/textmark.rb +1 -1
- data/lib/tk/texttag.rb +1 -1
- data/lib/tk/textwindow.rb +1 -1
- data/lib/tk/timer.rb +1 -1
- data/lib/tk/tk_mac.rb +1 -1
- data/lib/tk/toplevel.rb +1 -1
- data/lib/tk/txtwin_abst.rb +1 -1
- data/lib/tk/validation.rb +1 -1
- data/lib/tk/variable.rb +1 -1
- data/lib/tk/virtevent.rb +1 -1
- data/lib/tk/winfo.rb +1 -1
- data/lib/tk/winpkg.rb +1 -1
- data/lib/tk/wm.rb +1 -1
- data/lib/tk/xim.rb +1 -1
- data/lib/tk.rb +4 -2
- data/lib/tkextlib/ICONS/icons.rb +1 -1
- data/lib/tkextlib/blt/barchart.rb +1 -1
- data/lib/tkextlib/blt/bitmap.rb +1 -1
- data/lib/tkextlib/blt/busy.rb +1 -1
- data/lib/tkextlib/blt/component.rb +1 -1
- data/lib/tkextlib/blt/container.rb +1 -1
- data/lib/tkextlib/blt/cutbuffer.rb +1 -1
- data/lib/tkextlib/blt/dragdrop.rb +1 -1
- data/lib/tkextlib/blt/eps.rb +1 -1
- data/lib/tkextlib/blt/graph.rb +1 -1
- data/lib/tkextlib/blt/htext.rb +1 -1
- data/lib/tkextlib/blt/spline.rb +1 -1
- data/lib/tkextlib/blt/stripchart.rb +1 -1
- data/lib/tkextlib/blt/table.rb +1 -1
- data/lib/tkextlib/blt/tabnotebook.rb +1 -1
- data/lib/tkextlib/blt/tabset.rb +1 -1
- data/lib/tkextlib/blt/ted.rb +1 -1
- data/lib/tkextlib/blt/tile/button.rb +1 -1
- data/lib/tkextlib/blt/tile/checkbutton.rb +1 -1
- data/lib/tkextlib/blt/tile/frame.rb +1 -1
- data/lib/tkextlib/blt/tile/label.rb +1 -1
- data/lib/tkextlib/blt/tile/radiobutton.rb +1 -1
- data/lib/tkextlib/blt/tile/scrollbar.rb +1 -1
- data/lib/tkextlib/blt/tile/toplevel.rb +1 -1
- data/lib/tkextlib/blt/tile.rb +1 -1
- data/lib/tkextlib/blt/tree.rb +1 -1
- data/lib/tkextlib/blt/treeview.rb +1 -1
- data/lib/tkextlib/blt/unix_dnd.rb +1 -1
- data/lib/tkextlib/blt/vector.rb +1 -1
- data/lib/tkextlib/blt/watch.rb +1 -1
- data/lib/tkextlib/blt/win_printer.rb +1 -1
- data/lib/tkextlib/blt/winop.rb +1 -1
- data/lib/tkextlib/blt.rb +1 -1
- data/lib/tkextlib/bwidget/arrowbutton.rb +1 -1
- data/lib/tkextlib/bwidget/bitmap.rb +1 -1
- data/lib/tkextlib/bwidget/button.rb +1 -1
- data/lib/tkextlib/bwidget/buttonbox.rb +1 -1
- data/lib/tkextlib/bwidget/combobox.rb +1 -1
- data/lib/tkextlib/bwidget/dialog.rb +1 -1
- data/lib/tkextlib/bwidget/dragsite.rb +1 -1
- data/lib/tkextlib/bwidget/dropsite.rb +1 -1
- data/lib/tkextlib/bwidget/dynamichelp.rb +1 -1
- data/lib/tkextlib/bwidget/entry.rb +1 -1
- data/lib/tkextlib/bwidget/label.rb +1 -1
- data/lib/tkextlib/bwidget/labelentry.rb +1 -1
- data/lib/tkextlib/bwidget/labelframe.rb +1 -1
- data/lib/tkextlib/bwidget/listbox.rb +1 -1
- data/lib/tkextlib/bwidget/mainframe.rb +1 -1
- data/lib/tkextlib/bwidget/messagedlg.rb +1 -1
- data/lib/tkextlib/bwidget/notebook.rb +1 -1
- data/lib/tkextlib/bwidget/pagesmanager.rb +1 -1
- data/lib/tkextlib/bwidget/panedwindow.rb +1 -1
- data/lib/tkextlib/bwidget/panelframe.rb +1 -1
- data/lib/tkextlib/bwidget/passwddlg.rb +1 -1
- data/lib/tkextlib/bwidget/progressbar.rb +1 -1
- data/lib/tkextlib/bwidget/progressdlg.rb +1 -1
- data/lib/tkextlib/bwidget/scrollableframe.rb +1 -1
- data/lib/tkextlib/bwidget/scrolledwindow.rb +1 -1
- data/lib/tkextlib/bwidget/scrollview.rb +1 -1
- data/lib/tkextlib/bwidget/selectcolor.rb +1 -1
- data/lib/tkextlib/bwidget/selectfont.rb +1 -1
- data/lib/tkextlib/bwidget/separator.rb +1 -1
- data/lib/tkextlib/bwidget/spinbox.rb +1 -1
- data/lib/tkextlib/bwidget/statusbar.rb +1 -1
- data/lib/tkextlib/bwidget/titleframe.rb +1 -1
- data/lib/tkextlib/bwidget/tree.rb +1 -1
- data/lib/tkextlib/bwidget/widget.rb +1 -1
- data/lib/tkextlib/bwidget.rb +1 -1
- data/lib/tkextlib/itcl/incr_tcl.rb +1 -1
- data/lib/tkextlib/itk/incr_tk.rb +1 -1
- data/lib/tkextlib/iwidgets/buttonbox.rb +1 -1
- data/lib/tkextlib/iwidgets/calendar.rb +1 -1
- data/lib/tkextlib/iwidgets/canvasprintbox.rb +1 -1
- data/lib/tkextlib/iwidgets/canvasprintdialog.rb +1 -1
- data/lib/tkextlib/iwidgets/checkbox.rb +1 -1
- data/lib/tkextlib/iwidgets/combobox.rb +1 -1
- data/lib/tkextlib/iwidgets/dateentry.rb +1 -1
- data/lib/tkextlib/iwidgets/datefield.rb +1 -1
- data/lib/tkextlib/iwidgets/dialog.rb +1 -1
- data/lib/tkextlib/iwidgets/dialogshell.rb +1 -1
- data/lib/tkextlib/iwidgets/disjointlistbox.rb +1 -1
- data/lib/tkextlib/iwidgets/entryfield.rb +1 -1
- data/lib/tkextlib/iwidgets/extbutton.rb +1 -1
- data/lib/tkextlib/iwidgets/extfileselectionbox.rb +1 -1
- data/lib/tkextlib/iwidgets/extfileselectiondialog.rb +1 -1
- data/lib/tkextlib/iwidgets/feedback.rb +1 -1
- data/lib/tkextlib/iwidgets/fileselectionbox.rb +1 -1
- data/lib/tkextlib/iwidgets/fileselectiondialog.rb +1 -1
- data/lib/tkextlib/iwidgets/finddialog.rb +1 -1
- data/lib/tkextlib/iwidgets/hierarchy.rb +1 -1
- data/lib/tkextlib/iwidgets/hyperhelp.rb +1 -1
- data/lib/tkextlib/iwidgets/labeledframe.rb +1 -1
- data/lib/tkextlib/iwidgets/labeledwidget.rb +1 -1
- data/lib/tkextlib/iwidgets/mainwindow.rb +1 -1
- data/lib/tkextlib/iwidgets/menubar.rb +1 -1
- data/lib/tkextlib/iwidgets/messagebox.rb +1 -1
- data/lib/tkextlib/iwidgets/messagedialog.rb +1 -1
- data/lib/tkextlib/iwidgets/notebook.rb +2 -2
- data/lib/tkextlib/iwidgets/optionmenu.rb +1 -1
- data/lib/tkextlib/iwidgets/panedwindow.rb +1 -1
- data/lib/tkextlib/iwidgets/promptdialog.rb +1 -1
- data/lib/tkextlib/iwidgets/pushbutton.rb +1 -1
- data/lib/tkextlib/iwidgets/radiobox.rb +1 -1
- data/lib/tkextlib/iwidgets/scopedobject.rb +1 -1
- data/lib/tkextlib/iwidgets/scrolledcanvas.rb +1 -1
- data/lib/tkextlib/iwidgets/scrolledframe.rb +1 -1
- data/lib/tkextlib/iwidgets/scrolledhtml.rb +1 -1
- data/lib/tkextlib/iwidgets/scrolledlistbox.rb +1 -1
- data/lib/tkextlib/iwidgets/scrolledtext.rb +1 -1
- data/lib/tkextlib/iwidgets/scrolledwidget.rb +1 -1
- data/lib/tkextlib/iwidgets/selectionbox.rb +1 -1
- data/lib/tkextlib/iwidgets/selectiondialog.rb +1 -1
- data/lib/tkextlib/iwidgets/shell.rb +1 -1
- data/lib/tkextlib/iwidgets/spindate.rb +1 -1
- data/lib/tkextlib/iwidgets/spinint.rb +1 -1
- data/lib/tkextlib/iwidgets/spinner.rb +1 -1
- data/lib/tkextlib/iwidgets/spintime.rb +1 -1
- data/lib/tkextlib/iwidgets/tabnotebook.rb +2 -2
- data/lib/tkextlib/iwidgets/tabset.rb +1 -1
- data/lib/tkextlib/iwidgets/timeentry.rb +1 -1
- data/lib/tkextlib/iwidgets/timefield.rb +1 -1
- data/lib/tkextlib/iwidgets/toolbar.rb +1 -1
- data/lib/tkextlib/iwidgets/watch.rb +1 -1
- data/lib/tkextlib/iwidgets.rb +1 -1
- data/lib/tkextlib/pkg_checker.rb +1 -1
- data/lib/tkextlib/tcllib/autoscroll.rb +1 -1
- data/lib/tkextlib/tcllib/calendar.rb +1 -1
- data/lib/tkextlib/tcllib/canvas_sqmap.rb +1 -1
- data/lib/tkextlib/tcllib/canvas_zoom.rb +1 -1
- data/lib/tkextlib/tcllib/chatwidget.rb +1 -1
- data/lib/tkextlib/tcllib/crosshair.rb +1 -1
- data/lib/tkextlib/tcllib/ctext.rb +1 -1
- data/lib/tkextlib/tcllib/cursor.rb +1 -1
- data/lib/tkextlib/tcllib/dateentry.rb +1 -1
- data/lib/tkextlib/tcllib/datefield.rb +1 -1
- data/lib/tkextlib/tcllib/diagrams.rb +1 -1
- data/lib/tkextlib/tcllib/dialog.rb +1 -1
- data/lib/tkextlib/tcllib/getstring.rb +1 -1
- data/lib/tkextlib/tcllib/history.rb +1 -1
- data/lib/tkextlib/tcllib/ico.rb +1 -1
- data/lib/tkextlib/tcllib/ip_entry.rb +1 -1
- data/lib/tkextlib/tcllib/khim.rb +1 -1
- data/lib/tkextlib/tcllib/menuentry.rb +1 -1
- data/lib/tkextlib/tcllib/ntext.rb +1 -1
- data/lib/tkextlib/tcllib/panelframe.rb +1 -1
- data/lib/tkextlib/tcllib/plotchart.rb +1 -1
- data/lib/tkextlib/tcllib/ruler.rb +1 -1
- data/lib/tkextlib/tcllib/screenruler.rb +1 -1
- data/lib/tkextlib/tcllib/scrolledwindow.rb +1 -1
- data/lib/tkextlib/tcllib/scrollwin.rb +1 -1
- data/lib/tkextlib/tcllib/statusbar.rb +1 -1
- data/lib/tkextlib/tcllib/style.rb +1 -1
- data/lib/tkextlib/tcllib/superframe.rb +1 -1
- data/lib/tkextlib/tcllib/swaplist.rb +1 -1
- data/lib/tkextlib/tcllib/tablelist.rb +1 -1
- data/lib/tkextlib/tcllib/tablelist_core.rb +5 -5
- data/lib/tkextlib/tcllib/tablelist_tile.rb +1 -1
- data/lib/tkextlib/tcllib/tkpiechart.rb +1 -1
- data/lib/tkextlib/tcllib/toolbar.rb +1 -1
- data/lib/tkextlib/tcllib/tooltip.rb +1 -1
- data/lib/tkextlib/tcllib/validator.rb +1 -1
- data/lib/tkextlib/tcllib/widget.rb +1 -1
- data/lib/tkextlib/tcllib.rb +1 -1
- data/lib/tkextlib/tclx/tclx.rb +1 -1
- data/lib/tkextlib/tile/dialog.rb +1 -1
- data/lib/tkextlib/tile/sizegrip.rb +1 -1
- data/lib/tkextlib/tile/style.rb +1 -1
- data/lib/tkextlib/tile/tbutton.rb +1 -1
- data/lib/tkextlib/tile/tcheckbutton.rb +1 -1
- data/lib/tkextlib/tile/tcombobox.rb +1 -1
- data/lib/tkextlib/tile/tentry.rb +1 -1
- data/lib/tkextlib/tile/tframe.rb +1 -1
- data/lib/tkextlib/tile/tlabel.rb +1 -1
- data/lib/tkextlib/tile/tlabelframe.rb +1 -1
- data/lib/tkextlib/tile/tmenubutton.rb +1 -1
- data/lib/tkextlib/tile/tnotebook.rb +1 -1
- data/lib/tkextlib/tile/tpaned.rb +1 -1
- data/lib/tkextlib/tile/tprogressbar.rb +1 -1
- data/lib/tkextlib/tile/tradiobutton.rb +1 -1
- data/lib/tkextlib/tile/treeview.rb +1 -1
- data/lib/tkextlib/tile/tscale.rb +1 -1
- data/lib/tkextlib/tile/tscrollbar.rb +1 -1
- data/lib/tkextlib/tile/tseparator.rb +1 -1
- data/lib/tkextlib/tile/tspinbox.rb +1 -1
- data/lib/tkextlib/tile/tsquare.rb +1 -1
- data/lib/tkextlib/tile.rb +1 -1
- data/lib/tkextlib/tkDND/shape.rb +1 -1
- data/lib/tkextlib/tkDND/tkdnd.rb +1 -1
- data/lib/tkextlib/tkDND.rb +1 -1
- data/lib/tkextlib/tkHTML/htmlwidget.rb +1 -1
- data/lib/tkextlib/tkimg/bmp.rb +1 -1
- data/lib/tkextlib/tkimg/dted.rb +1 -1
- data/lib/tkextlib/tkimg/gif.rb +1 -1
- data/lib/tkextlib/tkimg/ico.rb +1 -1
- data/lib/tkextlib/tkimg/jpeg.rb +1 -1
- data/lib/tkextlib/tkimg/pcx.rb +1 -1
- data/lib/tkextlib/tkimg/pixmap.rb +1 -1
- data/lib/tkextlib/tkimg/png.rb +1 -1
- data/lib/tkextlib/tkimg/ppm.rb +1 -1
- data/lib/tkextlib/tkimg/ps.rb +1 -1
- data/lib/tkextlib/tkimg/raw.rb +1 -1
- data/lib/tkextlib/tkimg/sgi.rb +1 -1
- data/lib/tkextlib/tkimg/sun.rb +1 -1
- data/lib/tkextlib/tkimg/tga.rb +1 -1
- data/lib/tkextlib/tkimg/tiff.rb +1 -1
- data/lib/tkextlib/tkimg/window.rb +1 -1
- data/lib/tkextlib/tkimg/xbm.rb +1 -1
- data/lib/tkextlib/tkimg/xpm.rb +1 -1
- data/lib/tkextlib/tkimg.rb +1 -1
- data/lib/tkextlib/tktable/tktable.rb +1 -1
- data/lib/tkextlib/tktable.rb +1 -1
- data/lib/tkextlib/tktrans/tktrans.rb +1 -1
- data/lib/tkextlib/tktrans.rb +1 -1
- data/lib/tkextlib/treectrl/tktreectrl.rb +2 -2
- data/lib/tkextlib/trofs/trofs.rb +1 -1
- data/lib/tkextlib/vu/bargraph.rb +1 -1
- data/lib/tkextlib/vu/charts.rb +1 -1
- data/lib/tkextlib/vu/dial.rb +1 -1
- data/lib/tkextlib/vu/pie.rb +1 -1
- data/lib/tkextlib/vu/spinbox.rb +1 -1
- data/lib/tkextlib/vu.rb +1 -1
- data/lib/tkextlib/winico/winico.rb +1 -1
- data/lib/tkextlib/winico.rb +1 -1
- data/sample/tktextio.rb +2 -2
- data/tk.gemspec +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2daffd367a147178f4e0f2144ada2fa9b697d3f3a691feb35cbc0dd2897d5096
|
4
|
+
data.tar.gz: c77e8a1a311131c912dd1abfd877479dfe5284e1392aa74ff654d9bcad21a245
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 769d8de0a68b1e1f3ce86a74723d62b1e969cd0e2558f32ee0042c13a57c0c63f36fa8fe0aeb1f9c2a9a6fc2fbb1fa879c3013a83e247f8145b1b0873a8fea09
|
7
|
+
data.tar.gz: b7a29534b49f7fcb5f53390ed98fee637f8b9cf8a347b4a0d68a1edc6d951a16214074d007dab4204a59ee2a37eae383cb9fc4180d0aba179a5751edac62a6eb
|
data/.github/workflows/test.yml
CHANGED
data/MANUAL_tcltklib.ja
CHANGED
@@ -135,7 +135,7 @@ require "tcltklib" すると, 以下のモジュール, クラスが利用可能
|
|
135
135
|
メソッド _return_value()
|
136
136
|
直前の Tcl_Eval の戻り値を返します. 0(TCL_OK) で正常終了です.
|
137
137
|
引数: 無し
|
138
|
-
戻り値 (
|
138
|
+
戻り値 (Integer): 直前の Tcl_Eval() が返した値.
|
139
139
|
|
140
140
|
==============================================================
|
141
141
|
|
data/README.md
CHANGED
@@ -18,6 +18,14 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
$ gem install tk
|
20
20
|
|
21
|
+
You may need to set options when using `gem install` so that the gem can find the Tcl/Tk headers and library:
|
22
|
+
|
23
|
+
$ gem install tk -- \
|
24
|
+
--with-tcl-include='/path/to/tcl/header/directory' \
|
25
|
+
--with-tk-include='/path/to/tk/header/directory' \
|
26
|
+
--with-tcl-lib='/path/to/tcl/shared/library/directory' \
|
27
|
+
--with-tk-lib='/path/to/tk/shared/library/directory'
|
28
|
+
|
21
29
|
## Documentation
|
22
30
|
|
23
31
|
### Read this first
|
data/ext/tk/tkutil/tkutil.c
CHANGED
@@ -1067,14 +1067,14 @@ static VALUE
|
|
1067
1067
|
tkstr_to_int(value)
|
1068
1068
|
VALUE value;
|
1069
1069
|
{
|
1070
|
-
return
|
1070
|
+
return rb_str_to_inum(value, 0, 1);
|
1071
1071
|
}
|
1072
1072
|
|
1073
1073
|
static VALUE
|
1074
1074
|
tkstr_to_float(value)
|
1075
1075
|
VALUE value;
|
1076
1076
|
{
|
1077
|
-
return rb_float_new(
|
1077
|
+
return rb_float_new(rb_str_to_dbl(value, 1));
|
1078
1078
|
}
|
1079
1079
|
|
1080
1080
|
static VALUE
|
data/lib/multi-tk.rb
CHANGED
@@ -1279,7 +1279,7 @@ class MultiTkIp
|
|
1279
1279
|
|
1280
1280
|
name, safe, safe_opts, tk_opts = _parse_slaveopts(keys)
|
1281
1281
|
|
1282
|
-
safe = 1 if safe && !safe.kind_of?(
|
1282
|
+
safe = 1 if safe && !safe.kind_of?(Integer)
|
1283
1283
|
|
1284
1284
|
@safe_base = false
|
1285
1285
|
|
@@ -3519,4 +3519,4 @@ end
|
|
3519
3519
|
module TkCore
|
3520
3520
|
INTERP = MultiTkIp
|
3521
3521
|
end
|
3522
|
-
require 'tk'
|
3522
|
+
require 'tk' unless defined?(Tk)
|
data/lib/thread_tk.rb
CHANGED
data/lib/tk/bgerror.rb
CHANGED
data/lib/tk/bindtag.rb
CHANGED
data/lib/tk/busy.rb
CHANGED
data/lib/tk/button.rb
CHANGED
data/lib/tk/canvas.rb
CHANGED
data/lib/tk/canvastag.rb
CHANGED
data/lib/tk/checkbutton.rb
CHANGED
data/lib/tk/clipboard.rb
CHANGED
data/lib/tk/clock.rb
CHANGED
data/lib/tk/composite.rb
CHANGED
data/lib/tk/console.rb
CHANGED
data/lib/tk/dialog.rb
CHANGED
data/lib/tk/encodedstr.rb
CHANGED
data/lib/tk/entry.rb
CHANGED
data/lib/tk/font.rb
CHANGED
data/lib/tk/fontchooser.rb
CHANGED
data/lib/tk/frame.rb
CHANGED
data/lib/tk/grid.rb
CHANGED
data/lib/tk/image.rb
CHANGED
data/lib/tk/itemconfig.rb
CHANGED
data/lib/tk/itemfont.rb
CHANGED
data/lib/tk/kinput.rb
CHANGED
data/lib/tk/label.rb
CHANGED
data/lib/tk/labelframe.rb
CHANGED
data/lib/tk/listbox.rb
CHANGED
data/lib/tk/macpkg.rb
CHANGED
data/lib/tk/menu.rb
CHANGED
data/lib/tk/menubar.rb
CHANGED
@@ -85,7 +85,7 @@
|
|
85
85
|
# To use add_menu, configuration must be done by calling configure after
|
86
86
|
# adding all menus by add_menu, not by the constructor arguments.
|
87
87
|
|
88
|
-
require 'tk'
|
88
|
+
require 'tk' unless defined?(Tk)
|
89
89
|
require 'tk/frame'
|
90
90
|
require 'tk/composite'
|
91
91
|
require 'tk/menuspec'
|
data/lib/tk/message.rb
CHANGED
data/lib/tk/mngfocus.rb
CHANGED
data/lib/tk/msgcat.rb
CHANGED
data/lib/tk/namespace.rb
CHANGED
data/lib/tk/optiondb.rb
CHANGED
data/lib/tk/optionobj.rb
CHANGED
data/lib/tk/pack.rb
CHANGED
data/lib/tk/package.rb
CHANGED
data/lib/tk/palette.rb
CHANGED
data/lib/tk/panedwindow.rb
CHANGED
data/lib/tk/place.rb
CHANGED
data/lib/tk/radiobutton.rb
CHANGED
data/lib/tk/root.rb
CHANGED
data/lib/tk/scale.rb
CHANGED
data/lib/tk/scrollable.rb
CHANGED
data/lib/tk/scrollbar.rb
CHANGED
data/lib/tk/scrollbox.rb
CHANGED
data/lib/tk/selection.rb
CHANGED
data/lib/tk/spinbox.rb
CHANGED
data/lib/tk/tagfont.rb
CHANGED
data/lib/tk/text.rb
CHANGED
data/lib/tk/textimage.rb
CHANGED
data/lib/tk/textmark.rb
CHANGED
data/lib/tk/texttag.rb
CHANGED
data/lib/tk/textwindow.rb
CHANGED
data/lib/tk/timer.rb
CHANGED