in reply to Perl - TK - Frames - $frame->raise()...

I would suggest that if you have both frames attached to the "very top level, main window object" then tehy are siblings, not parent and child.

But if you want to know who the parent is, thus getting the object reference and being able to mainpulate it:

my $parent = $widget->parent();
and to find the ref for the associated topleve,
my $toplevel = $widget->toplevel();
However, without my books close by, my recollection is that frame itself is a widget and cannot be raised. It is the toplevel (or MainWindow) that contains the widgets which gets raised, withdrawn, iconified and deiconified. To hide/show a frame widget you would need to use the geometry amanger and something like the pack and unpack methods. A frame is not a toplevel, it is a convenient container widget which is used to hold other widgets.

jdtoronto