RE: Capturing X.

2003-12-18 Thread Lynn. Rickards
Beckett Richard-qswi266 Guys, Does anyone know how to catch the user pressing the X in the corner of the window, like I can catch the Control-C? $SIG{INT} = \control_c; That's a function of the wm - use protocol to trap the event: $mw-protocol('WM_DELETE_WINDOW', [ sub

Re: Capturing X.

2003-12-18 Thread $Bill Luebkert
Beckett Richard-qswi266 wrote: Guys, Does anyone know how to catch the user pressing the X in the corner of the window, like I can catch the Control-C? $SIG{INT} = \control_c; Try: $SIG{BREAK} -- ,-/- __ _ _ $Bill LuebkertMailto:[EMAIL PROTECTED] (_/ / )//