Hello,
This is not possible currently (assuming you don't want to go in and hack
the code). But it should be possible to do without too much difficulty,
the buttons used are pretty much all hard-wired in two modules,
python/ccpnmr/analysis/WindowPopup.py (around lines 380 to 400 plus or
minus) and a few odd ones in python/memops/gui/ScrolledWindow.py. So we'd
just need to figure out how to allow customisation without getting too
bogged down in the interface to specify what is what.
Wayne
On Wed, 7 Feb 2007, Johnny Croy wrote:
> Hi Tim or Wayne,
>
> I have a request that you both can help me with. I would like to be
> able to remap how my mouse is controling certian things within the
> spectra. For example, since I am a long time ANSIG user, I would
> like to remap the mouse buttons to the following:
>
> Right mouse click = movement around the spectra window
> Left mouse click and hold = ability to zoom in and out of the window
> (for me the mousewheel is too jumpy and doesn't allow very fine
> control over zooming)
> Mousewheel = scroll through the non-visible dimension (ie 3rd)
>
> I haven't been able to find an option that will let me remap. Is
> this even available? I like the right click menu that comes up and
> maybe this could be remapped to a key+mouse button click?
>
> It might be nice to have this option for people, so that they can
> customize how things work. If the customization is too difficult,
> then maybe it might be helpful for converts if you have individual
> preconfigured mouse button mappings for old Sparky and old ANSIG
> users that you could select from the main menu. For me this would be
> very helpful.
>
> -Johnny
>
> On Feb 7, 2007, at 1:34 PM, Johnny Croy wrote:
>
> > Jo,
> >
> > I ran into some of the same problems that you are describing. I
> > was running the FINK installed version of analysis and working
> > within was very painful. I tried the same suggestions as given by
> > the fellow CCPNMR users, but still found that the performance
> > issues were not acceptable.
> >
> > In the end I ended up dumping the FINK version and directly
> > compiling it using the version that is downloadable from the CCPNMR
> > site directly. Performance was noticibly increased and the
> > "slowness" that I found to be prohibitive in the FINK version were
> > less noticble in the CCPNMR version. However, I have found that
> > the implementation of reading in a contour file really, really
> > helps the performance issues (as expected and pointed out by Tim
> > and Wayne). Additionally, downloading the CCPNMR version and
> > compiling in say your home directory allows for updates to be
> > easily implemented, as FINK installs in /sw and requires root/sudo
> > privileges for upgrading which I found to be a nuisance.
> >
> > However, with that being said I still think that performance is
> > still an issue on the mac that I use (G4 powerbook, 1.5MHz 1.5 GB
> > RAM). Since I only have ANSIG to compare to, the graphics
> > (redrawing rates, etc) pale in analysis pale in comparison to what
> > I can get from ANSIG. However, the ability to switch "on-the-fly"
> > from precontoured to "contouring-on-the-fly" is very handy and is a
> > signifcant over the ANSIG situation. Try to compile the CCPNMR
> > version that you can download from the main site and see if this
> > helps! Please let me know if you run into any problems and I may
> > be able to help.
> >
> > Good luck!
> >
> > - Johnny
> >
> > On Feb 6, 2007, at 5:58 PM, Jo Claridge wrote:
> >
> >> Hi
> >>
> >> Using Fink have installed analysis on a core duo 2 2.33 GHz
> >> powerbook pro
> >> with 2 Gb of RAM. The programme seems to work OK except that when
> >> I load
> >> .ucsf or Bruker format 3D spectra the update is prohibitively slow
> >> and when
> >> looking at more than one plane the programme often crashes. I
> >> appreciate
> >> that the spectral files are large (up to 500Mb) so I was wondering
> >> whether
> >> this is to be expected or whether there is anything I can do to
> >> fix this. I
> >> have used both the openGL and tcl/tk. Do you have any plans to
> >> speed up the
> >> graphics handling?
> >>
> >> Jo Claridge
> >>
> >> IFS
> >> Massey University
> >> Palmerston North
> >> New Zealand
> >
> > ------------------------------------------------------------
> > Johnny E. Croy, Ph.D.
> > NIH Post-Doctoral Fellow
> > University of Colorado, Boulder
> > Wuttke Lab
> > Campus Box 215
> > Cristol Chemistry
> > Boulder, CO 80309-0215
> >
> > Lab Phone: (303) 492-2369
> > Lab Fax: (303) 492-4576
> >
> > ------------------------------------------------------------
> >
> >
>
> ------------------------------------------------------------
> Johnny E. Croy, Ph.D.
> NIH Post-Doctoral Fellow
> University of Colorado, Boulder
> Wuttke Lab
> Campus Box 215
> Cristol Chemistry
> Boulder, CO 80309-0215
>
> Lab Phone: (303) 492-2369
> Lab Fax: (303) 492-4576
>
> ------------------------------------------------------------
>
>
>
|