On Tue, Nov 10, 2009 at 09:28:08AM -0600, Robert Hanson wrote:
> On Tue, Nov 10, 2009 at 5:47 AM, Brian McMahon <[email protected]> wrote:
> 
>> Earlier this year Bob introduced very nice functionality to move a
>> label dynamically by SHIFT-click (application) or CTRL-click (applet)
>>
> 
> It's the same code -- should be the same key-combination.  -- SHIFT, not
> CTRL

Oops, my mistake in reading my own notes. SHIFT-click works for both.
ALT-click also seems to work in the applet, though not for me with the
application - that might be a feature of my window manager, I guess.

>> My question: is there any way to ensure that after toggling a label on/off
>> using the "set picking select label" it can be restored with the format it
>> had prior to toggling off?
>
> Up until now, whenever a label is turned off it is reset to the standard
> label.

As I mentioned in replying to Angel, the ability to "remember" an assigned
format would be wonderful. Failing that, the ability to specify a different
default would be helpful.

>> (2)
>> At this point, I can store the graphics state, using "show state", and
>> run it. The result is unchanged.
>>
>> However, if, while I still have "set picking select label" I SHIFT-click on
>> an atom and move its label, then save the state, and then re-run the saved
>> state, the position of the label has now shifted. Looks like a bug.
>>
>
> definitely -- I'll look into that.

Excellent.

>> (3)
>> A supplementary question. Having gone through this exercise (i.e. saved
>> the graphics state and re-run it as a standalone script), if I now click
>> on an atom, the application reports that atom's name and position (i.e.
>> it has reverted to the default picking behaviour). Does this imply that
>> the picking mode is not retained within the graphics state? If so, is
>> there any way that it could be? [I am not sure that I would want it to
>> be, but am curious as to the possibility.]
>>
>>
> That's right, the picking mode is not saved with the state. Not sure why.
> Probably no reason.

OK, noted. The more I play with what I'm doing (silently invoking different
picking modes in an attempt to help the user in different contexts), the
more I think it wouldn't be such a good idea to save it with the state!
 
Cheers
Brian
_________________________________________________________________________
Brian McMahon                                       tel: +44 1244 342878
Research and Development Officer                    fax: +44 1244 314888
International Union of Crystallography            e-mail:  [email protected]
5 Abbey Square, Chester CH1 2HU, England

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to