Sorry for the toppost.

Depending on how you packed your widget you have to use the 'forget' method
appropriate to the packer.

eg/

$frame->pack;
$frame->packForget;

To show the frame again you will have to repack it possibly by using a few
extra options such as -in or -after.

If you used grid then ->gridForget etc.

Jack

________________________________

From: perl-win32-users-boun...@listserv.activestate.com
[mailto:perl-win32-users-boun...@listserv.activestate.com] On Behalf Of
Daniel Burgaud
Sent: July-30-09 4:29 PM
To: Perl-Win32-Users
Subject: What TK Method for hiding a widget?


Hi,

I am looking for that Tk method that will hide widgets rendering it
invisible.

specifically, I'd like to hide a Frame whenever a DialogBox pops up asking
for authentication.

I do not want to destroy this Frame though doing so would require me to redo
everything within this Frame.

Thanks

Dan


_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to