For Programmers: Free Programming Magazines  


Home > Archive > PerlTk > August 2006 > Close the parent window /clear screen









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Close the parent window /clear screen
night_scorpion

2006-08-02, 12:44 am

hello everyone,

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 or perhaps how to clear a screen?
The script which i am working on now, contains a tree structure from which ,when i am at the 5th or 6th window there r 4 to 5 parent windows which are open behind which i would like to avoid .

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com