develooper Front page | perl.beginners | Postings from January 2002

RE:Destroy a window

Jorge Goncalvez
January 31, 2002 00:03
RE:Destroy a window
Message ID:
Hi, I have a perl tk (in Windows9X) application which contains 2 windows.
What I would like to do is when i click the cross(to destroy the window) of the 
first window to destroy also the another window.

I tried this:
$_Globals{TOP_WINDOW} is the main window.If I call the $_Globals{POPUP_WINDOW} 
from the $_Globals{TOP_WINDOW}  and then i click the cross of the 
$_Globals{TOP_WINDOW} it destroy only $_Globals{TOP_WINDOW} and not 
How can i do to catch the fact a user clicked the cross of the main window to 
kill all windows. Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About