in reply to Perl/Tk, MapWindow, UnmapWindow, and dynamic frames

I think you are looking for $widget->packForget();

If you don't mind tabs instead of buttons, you could try Tk::TabFrame or Tk::Notebook to do the work for you.

  • Comment on Re: Perl/Tk, MapWindow, UnmapWindow, and dynamic frames

Replies are listed 'Best First'.
(bbfu) Re2: Perl/Tk, MapWindow, UnmapWindow, and dynamic frames
by bbfu (Curate) on Jul 09, 2001 at 02:35 UTC

    Ah, perfect! Exactly what I was looking for. Now, why didn't I see packForget() when I was looking in the docs? I see it now, of course. :-p

    Update: Oh, and about the notebook/tabbed frame suggestion... I was actually going to have the frames be switched by a radio button so the tabs aren't really what I was looking for, but thanks!

    Thanks!

    bbfu
    Seasons don't fear The Reaper.
    Nor do the wind, the sun, and the rain.
    We can be like they are.