[Chimera-users] Embed chimera into my gui code
gregc at cgl.ucsf.edu
Thu Feb 26 13:20:19 PST 2015
The short answer is: no -- there is no documentation to embed Chimera in
Our recommended and supported solution is for you to write a Chimera
extension. See the incomplete Programmer's Guide's examples,
particular the "Working with the Chimera Extension Manager" example.
That said, in the Linux distribution, you can easily see everything
Chimera does at startup, look at the chimera shell script and all of the
environment variables it sets, then look at CHIMERA/share/__main__.py
and CHIMERA/share/chimeraInit.py. Windows and Mac OS X have similar
startup procedures, but use a program instead of a shell script. We do
not support it, but there is a chance that if you setup all of the
appropriate environment variables and call chimeraInit.init with the
appropriate arguments, that it will work. You should also use the same
C/C++ compiler if you have any non-Python code.
On 02/25/2015 05:45 PM, hy liao wrote:
> I am creating a GUI using tkinter, and I would like to embed chimera
> into it.
> Specifically, I would like to display a 3D molecule density map using
> chimera and inside my GUI. Chimera would be activated while the GUI is
> on. Is there documentation to accomplish this?
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Chimera-users