From: Jun Young Kim <jykim / altibase.com>
Subject: ruby/tk : hide TkFrame
Date: Wed, 1 Jul 2009 14:11:58 +0900
Message-ID: <260C843E-833F-4C75-80FB-ED7D7EC8E264 / altibase.com>
> 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).

What is your purpose?
Probably, most suitable way depends on it.

For example, f2.unpack removes f2 on the window. 
And then, if you want to keep the window size, 
you'll need call f2.winfo_parent.pack_propagate(false) before f2.upnack.
if your purpose is to make the QUIT button disable, 
you should use 'state' option of button widgets.

What do you want really?
-- 
Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)