mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
add TkRoot.destroy
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4842 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b6beb8d943
commit
90e087b697
1 changed files with 4 additions and 0 deletions
|
@ -4453,6 +4453,10 @@ class TkRoot<TkWindow
|
|||
def path
|
||||
"."
|
||||
end
|
||||
|
||||
def TkRoot.destroy
|
||||
TkCore::INTERP._invoke('destroy', '.')
|
||||
end
|
||||
end
|
||||
|
||||
class TkToplevel<TkWindow
|
||||
|
|
Loading…
Reference in a new issue