diff options
| author | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-04 01:37:19 +0000 |
|---|---|---|
| committer | ocean <ocean@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-04-04 01:37:19 +0000 |
| commit | 1e9db0c222c8c16860f236414d13c3b591a584d3 (patch) | |
| tree | c1e645c19fda50d0070b44645f02c2c96784fef3 /ext/tk | |
| parent | 5eda89a022da2dee6c601bb3735d4f8654f261b9 (diff) | |
| download | ruby-1e9db0c222c8c16860f236414d13c3b591a584d3.tar.gz ruby-1e9db0c222c8c16860f236414d13c3b591a584d3.tar.xz ruby-1e9db0c222c8c16860f236414d13c3b591a584d3.zip | |
* ext/tk/lib/tk/dialog.rb: fixed typo.
* ext/tk/lib/tkextlib/tktable/tktable.rb: added Tk::TkTable#selection_present.
* ext/tk/sample/tkextlib/vu/dial_demo.rb: renamed as well as vu_demo.rb.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk')
| -rw-r--r-- | ext/tk/ChangeLog.tkextlib | 14 | ||||
| -rw-r--r-- | ext/tk/lib/tk/dialog.rb | 2 | ||||
| -rw-r--r-- | ext/tk/lib/tkextlib/tktable/tktable.rb | 3 | ||||
| -rw-r--r-- | ext/tk/sample/tkextlib/vu/dial_demo.rb (renamed from ext/tk/sample/tkextlib/vu/dial.rb) | 0 |
4 files changed, 15 insertions, 4 deletions
diff --git a/ext/tk/ChangeLog.tkextlib b/ext/tk/ChangeLog.tkextlib index dc9799660..8638975e8 100644 --- a/ext/tk/ChangeLog.tkextlib +++ b/ext/tk/ChangeLog.tkextlib @@ -1,3 +1,7 @@ +2005-04-04 ocean <ocean@ruby-lang.org> + + * lib/tkextlib/tktable/tktable.rb: added Tk::TkTable#selection_present. + 2005-04-02 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * lib/tkextlib/treectrl/tktreectrl.rb: support TreeCtrl's cvs head. @@ -26,12 +30,12 @@ 2005-03-31 ocean <ocean@ruby-lang.org> - * ext/tk/sample/tkextlib/treectrl/demo.rb: should use Hash#index. + * sample/tkextlib/treectrl/demo.rb: should use Hash#index. - * ext/tk/sample/tkextlib/treectrl/demo.rb: TkImage was not + * sample/tkextlib/treectrl/demo.rb: TkImage was not cached properly. - * ext/tk/sample/tkextlib/treectrl/random.rb: fixed typo. + * sample/tkextlib/treectrl/random.rb: fixed typo. 2005-03-31 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> @@ -87,6 +91,10 @@ * sample/tkextlib/blt/pareto.rb: ditto. +2005-03-28 ocean <ocean@ruby-lang.org> + + * lib/tkextlib/iwidgets/notebook.rb: fixed typo. + 2005-03-26 Hidetoshi NAGAI <nagai@ai.kyutech.ac.jp> * lib/tkextlib/blt.rb: add commands for zooming. diff --git a/ext/tk/lib/tk/dialog.rb b/ext/tk/lib/tk/dialog.rb index 212226b4d..d468c6e8b 100644 --- a/ext/tk/lib/tk/dialog.rb +++ b/ext/tk/lib/tk/dialog.rb @@ -51,7 +51,7 @@ class TkDialogObj < TkWindow } end # @config = 'after idle {' + @config + '};' if @config != "" - @config = array2tk_list['after', 'idle', @config] << ';' if @config != "" + @config = array2tk_list(['after', 'idle', @config]) << ';' if @config != "" end private :_set_button_config diff --git a/ext/tk/lib/tkextlib/tktable/tktable.rb b/ext/tk/lib/tkextlib/tktable/tktable.rb index da78ca3fb..dff44bf10 100644 --- a/ext/tk/lib/tkextlib/tktable/tktable.rb +++ b/ext/tk/lib/tkextlib/tktable/tktable.rb @@ -547,6 +547,9 @@ class Tk::TkTable def selection_include?(idx) bool(tk_send('selection', 'includes', tagid(idx))) end + def selection_present + bool(tk_send('selection', 'present')) + end def selection_set(first, last=None) tk_send('selection', 'set', tagid(first), tagid(last)) self diff --git a/ext/tk/sample/tkextlib/vu/dial.rb b/ext/tk/sample/tkextlib/vu/dial_demo.rb index 09bd3e918..09bd3e918 100644 --- a/ext/tk/sample/tkextlib/vu/dial.rb +++ b/ext/tk/sample/tkextlib/vu/dial_demo.rb |
