Mark A Saper wrote:
Many thanks for providing the script. I've modified your script using the documented "set-scroll-wheel-map" in place of "set-scrollable-map" and placed the code in the keybindings.scm file that is read on start-up.

Hmm... set-scroll-wheel-map and set-scrollable-map do the same thing. That is a (minor) mistake on my part.

Unfortunately I don't have it working yet with coot 0.6.1.  Not sure what I'm 
doing wrong.  Should script work with only two maps loaded?

Yes it should.  The script works for me (0.6.2-pre).

add
(print-var l) before the line
   (if (> (length l) 1) (set-scrollable-map (cadr l))

maybe that'll help diagnose what is going wrong.

JED: (Strangely, this doesn't update the scrolling radio button in the
display manager...)

Ah, I see. That is an oversight which should be addressed.

Thanks,

Paul.

Reply via email to