diff options
author | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-25 22:36:50 +0000 |
---|---|---|
committer | nagai <nagai@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-10-25 22:36:50 +0000 |
commit | 90e087b6977e564fb2ebcff9cd02dda97e9ea5a7 (patch) | |
tree | 9da8397e32160d69e1619a0aa8a26b759b858bb3 /ext/tk/lib/tk.rb | |
parent | b6beb8d943761fe1d754ba4de5ba360018b8e767 (diff) | |
download | ruby-90e087b6977e564fb2ebcff9cd02dda97e9ea5a7.tar.gz |
add TkRoot.destroy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/tk/lib/tk.rb')
-rw-r--r-- | ext/tk/lib/tk.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tk/lib/tk.rb b/ext/tk/lib/tk.rb index a71ac7590e..9cdd3b918e 100644 --- a/ext/tk/lib/tk.rb +++ b/ext/tk/lib/tk.rb @@ -4453,6 +4453,10 @@ class TkRoot<TkWindow def path "." end + + def TkRoot.destroy + TkCore::INTERP._invoke('destroy', '.') + end end class TkToplevel<TkWindow |