Quick navigation:        Home   |    Site Map   ||    References   |    Biography   ||    Copyright   |    Other copyright   |    Contact us   |   
Protein structure
 

Re: [ccp4bb] WM DELETE WINDOW

 

Basic tutorials:
 
 

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 04 March 2008
Previous message:
Subject: Re: WM DELETE WINDOW
From: James Stroud jstroud {- at -} MBI {- dot -} UCLA {- dot -} EDU
Date: 2008-03-04
Next message:
Subject: Re: WM DELETE WINDOW
From: Kevin Cowtan cowtan {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04


Subject: Re: WM DELETE WINDOW
From: "P {- dot -} J {- dot -} Briggs" p {- dot -} j {- dot -} briggs {- at -} DL {- dot -} AC {- dot -} UK
Date: 2008-03-04

Dear James

Generally the best people to contact about this sort of news are the
CCP4 staff at Daresbury, ccp4@dl.ac.uk.

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, pjx@dl.ac.uk Tel: +44 1925 603826
CCP4, ccp4@dl.ac.uk Fax: +44 1925 603825
http://www.ccp4.ac.uk/
Daresbury Laboratory, Daresbury, Warrington WA4 4AD

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 04 March 2008
Previous message:
Subject: Re: WM DELETE WINDOW
From: James Stroud jstroud {- at -} MBI {- dot -} UCLA {- dot -} EDU
Date: 2008-03-04
Next message:
Subject: Re: WM DELETE WINDOW
From: Kevin Cowtan cowtan {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04



ProteinCrystallography.org: Copyright 2006-2007 by Quid United Ltd