While I've got your attention....

Is it possible to embed a pymol window into a bigger independent
application?


I've written a PymolQt C++ class that tries to put pymol inside a QWidget
and replaced the glut input functions by Qt stuff. I had to do some changes to
pymol to make this work and the whole thing is very inelegant.
The source code is in http://xray.bmc.uu.se/~filipe/files/gmxg-src-0.12.tar.gz, and linux binaries in http://xray.bmc.uu.se/~filipe/files/gmxg-linux-0.12.tar.gz
(i don't really know if they work).
Here is the result http://xray.bmc.uu.se/~filipe/files/pymolGL.png.
To find for the modification in pymol grep for "EMB C". The relevant
c++ files are pymolGL.cpp and pymolGL.h.
In any case this might help as a starting point.

Filipe



--
All generalizations are false, including this one.
         -- Mark Twain

Reply via email to