in reply to Perl - TK - Frames - $frame->raise()...
But if you want to know who the parent is, thus getting the object reference and being able to mainpulate it:
and to find the ref for the associated topleve,my $parent = $widget->parent();
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.my $toplevel = $widget->toplevel();
|
|---|