[Chimera-users] Embed chimera into my gui code

Greg Couch 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 
another application.

Our recommended and supported solution is for you to write a Chimera 
extension.  See the incomplete Programmer's Guide's examples, 
http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/, in 
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.

     Good luck,


On 02/25/2015 05:45 PM, hy liao wrote:
> Hi,
> 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?
> Thanks!
> Stu
> _______________________________________________
> Chimera-users mailing list
> Chimera-users at cgl.ucsf.edu
> http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20150226/b8d02f94/attachment.html>

More information about the Chimera-users mailing list