Reply to topic
Perl /Tk : close a parent window
night_scorpion


Joined: 12 Jul 2006
Posts: 3
Reply with quote
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
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic