![]() |
| Perl /Tk : close a parent window |
|
night_scorpion
|
Hello ,
I am working on a script based on GUI.Could anyone help me out here on how to close the parent window after having the new window opened ? i couldnt find much information about it on web. eg : . my $button = $main->Button( -text => 'RCStocklist', -command => \&rc ) ->pack(); MainLoop(); sub rc{ my $top =$main ->Toplevel(); $top ->title("RC"); $top ->minsize(qw(450 150)); ..} thank u regards Sonia |
||||||||||||
|
|
|||||||||||||
| Perl /Tk : close a parent window |
|
||
|


