>>86
下の階層ごとdestroyされるはずだけど
質問するまでもなく、自分でやってみたらいいんじゃないのかな
require 'tk'
f=Tk::Frame.new(background:'#FF8080',padx:5,pady:5).pack
Tk::Label.new(f,text:'LABEL').pack
Tk::Button.new(f,text:'BUTTON').pack
Tk::Button.new(text:'destroy frame',command:->{f.destroy}).pack
Tk::Button.new(text:'exit',command:->{Tk.root.destroy}).pack
Tk.mainloop