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
@ -4453,6 +4453,10 @@ class TkRoot<TkWindow
|
||||
def path
|
||||
"."
|
||||
end
|
||||
|
||||
def TkRoot.destroy
|
||||
TkCore::INTERP._invoke('destroy', '.')
|
||||
end
|
||||
end
|
||||
|
||||
class TkToplevel<TkWindow
|
||||
|
Loading…
x
Reference in New Issue
Block a user