in reply to TK close window int signal

What signal is it recieving when you click the window close button on the upper right hand side?

None. Tk doesn't use signals.

Replies are listed 'Best First'.
Re^2: TK close window int signal
by Anonymous Monk on May 29, 2011 at 03:58 UTC
    To elaborate, MainLoop is responsible for processing GUI messages. Closing the last toplevel window, ends the MainLoop.
    $ perl -MTk -e " tkinit->MainLoop; die qq[hi] " hi at -e line 1.