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: "P {- dot -} J {- dot -} Briggs" p {- dot -} j {- dot -} briggs {- at -} DL {- dot -} AC {- dot -} UK
Date: 2008-03-04
Next message:
Subject: Re: WM DELETE WINDOW
From: Johan Turkenburg jpt {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04


Subject: Re: WM DELETE WINDOW
From: Kevin Cowtan cowtan {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04

Having just sampled a few Linux apps, the most common behaviour for the
close decoration seems to be to close without warning if there is no
unsaved work, or to close with warning otherwise.

At first glance, the CCP4i main window never has an unsaved state, so I
was going to disagree with you. However, if you have a task window open
(which may have unsaved program parameters entered in it), then closing
the main window also closes the task window, losing the info you were
entering.

So I would vote in favour of a confirm option. Or even better, close
automatically if no other windows are open, or ask for confirmation if
there are any other windows open (but the benefit of this refinement is
marginal - only worth doing if it is really easy).

Kevin


James Stroud wrote:
> Maybe it is bound on second look--But it does not confirm exit, which
> would be handy.
>
>
> On Mar 4, 2008, at 4:46 AM, 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
>
> --
> James Stroud
> UCLA-DOE Institute for Genomics and Proteomics
> Box 951570
> Los Angeles, CA 90095
>
> http://www.jamesstroud.com
>
>

CCP4bb navigation

CCP4bb <-- 2008 <-- March 2008 <-- 04 March 2008
Previous message:
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
Next message:
Subject: Re: WM DELETE WINDOW
From: Johan Turkenburg jpt {- at -} YSBL {- dot -} YORK {- dot -} AC {- dot -} UK
Date: 2008-03-04



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