From: Jun Young Kim Date: 2009-07-01T14:11:58+09:00 Subject: ruby/tk : hide TkFrame hi, rubists. quick question's here. I have two TkFrame instance on main panel and then I want to hide one of them by some kinds of option(checkbutton or somelike that). is there possible way to do this? example) require "tk" f1 = TkFrame.new { relief 'sunken' borderwidth 3 background "red" padx 15 pady 20 pack('side' => 'left') } f2 = TkFrame.new { relief 'groove' borderwidth 1 background "yellow" padx 10 pady 10 pack('side' => 'right') } TkButton.new(f1) { text 'Button1' command {print "push button1!!\n"} pack('fill' => 'x') } TkButton.new(f1) { text 'Button2' command {print "push button2!!\n"} pack('fill' => 'x') } TkButton.new(f2) { text 'Quit' command 'exit' pack('fill' => 'x') } Tk.mainloop How can I hide frame f2?