<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
The short answer is: no -- there is no documentation to embed
Chimera in another application.<br>
<br>
Our recommended and supported solution is for you to write a Chimera
extension. See the incomplete Programmer's Guide's examples, <a
href="http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/">http://www.cgl.ucsf.edu/chimera/docs/ProgrammersGuide/Examples/</a>,
in particular the "Working with the Chimera Extension Manager"
example.<br>
<br>
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.<br>
<br>
Good luck,<br>
<br>
Greg<br>
<br>
<div class="moz-cite-prefix">On 02/25/2015 05:45 PM, hy liao wrote:<br>
</div>
<blockquote
cite="mid:817355518.176294.1424915145362.JavaMail.yahoo@mail.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, sans-serif;font-size:16px">
<div dir="ltr" id="yui_3_16_0_1_1424914784011_2477">Hi, <br>
</div>
<div id="yui_3_16_0_1_1424914784011_2641" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1424914784011_2640" dir="ltr">I am
creating a GUI using tkinter, and I would like to embed
chimera into it. <br>
</div>
<div id="yui_3_16_0_1_1424914784011_2639" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1424914784011_2638" dir="ltr">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?</div>
<div id="yui_3_16_0_1_1424914784011_2582" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1424914784011_2581" dir="ltr">Thanks!</div>
<div id="yui_3_16_0_1_1424914784011_2580" dir="ltr"><br>
</div>
<div id="yui_3_16_0_1_1424914784011_2620" dir="ltr">Stu<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Chimera-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Chimera-users@cgl.ucsf.edu">Chimera-users@cgl.ucsf.edu</a>
<a class="moz-txt-link-freetext" href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a>
</pre>
</blockquote>
<br>
</body>
</html>