[chimera-dev] Mouse Trigger
Eric Pettersen
pett at cgl.ucsf.edu
Wed Jul 31 17:30:47 PDT 2002
Hi Mike,
There is no trigger for what you want, but it sounds like a good idea so
we will try to add 'motion started' and 'motion finished/stopped/whatever'
triggers for the next release. In the interim, we suggest you bind to
ButtonRelease for tkgui.app.graphics (the main graphics widget) -- making
sure to use the '+' arg in your bind() call to avoid overriding the normal
functions called during ButtonRelease.
Hope this helps.
--Eric
On Wednesday, July 31, 2002, at 11:56 AM, Mike Liang wrote:
> Hello!
>
> Is there a way to register a trigger for the mouse? I want the user to be
> able to rotate the molecules all they want, but perform my
> (slow) computation when their done moving the models. So it'll be nice
> to have a MouseUp-like handler (or maybe you have an alternative method).
>
> Thanks!
> Mike
>
> _______________________________________________
> Chimera-dev mailing list
> Chimera-dev at cgl.ucsf.edu
> http://www.cgl.ucsf.edu/mailman/listinfo/chimera-dev
More information about the Chimera-dev
mailing list