How to handle mouse events in PyMOL plugins
0
0
Entering edit mode
6 months ago

I am trying to create a plugin that calculates and shows in pyplot the X-ray scattering from any arbitrary assembly of proteins such that the plugin catches the mouse events (e.g. when one of the molecules was rotated by the mouse), generates the scattering on-the-fly and updates the resulting plot in matplotlib. So far I got stuck at the first step of how to catch the events in PyMOL and whether it is possible to create custom events, for example, keyboard short cuts. Any help will be highly appreciated!

PyMOLplugin events PyMOL • 148 views
ADD COMMENT

Login before adding your answer.

Traffic: 1072 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6