Dear James

Generally the best people to contact about this sort of news are the
CCP4 staff at Daresbury, [EMAIL PROTECTED]

I'm sure that I've missed something, however - both the Exit button and
the window close operation on the main window (which I understood to be
bound to WM_DELETE_WINDOW, see browser_utils.tcl) are already bound to
the same "ExitInterface" procedure (defined in taskwindow.tcl).

This procedure saves the state of the interface and then exits,
destroying both the main CCP4i window and all children windows without
prompting first. So I'm not sure what it is that you want. Could you
clarify further?

Best wishes

Peter

James Stroud wrote:
> Who do I contact to spread the news that you can bind the
> WM_DELETE_WINDOW protocol of the main ccp4i window to the same callback
> as the "EXIT" button in the lower right hand corner of the window?
> 
> Translation: will prevent annoying abrupt quitting behavior upon
> accidentally closing main ccp4i window.
> 
> -- 
> James Stroud
> UCLA-DOE Institute for Genomics and Proteomics
> Box 951570
> Los Angeles, CA  90095
> 
> http://www.jamesstroud.com

-- 
___________________________________________________
Peter J Briggs, [EMAIL PROTECTED]   Tel: +44 1925 603826
CCP4,           [EMAIL PROTECTED]  Fax: +44 1925 603825
                http://www.ccp4.ac.uk/
Daresbury Laboratory, Daresbury, Warrington WA4 4AD

Reply via email to