<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>The Gnome Chemistry Utils: GtkChem3DViewer Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>GtkChem3DViewer Struct Reference</h1><!-- doxytag: class="GtkChem3DViewer" --> <p><code>#include <<a class="el" href="gtkchem3dviewer_8h_source.html">gcu/gtkchem3dviewer.h</a>></code></p> <table border="0" cellpadding="0" cellspacing="0"> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>The <a class="el" href="structGtkChem3DViewer.html">GtkChem3DViewer</a> displays 3D models of molecules using an OpenGL window. A test program is available in the tests directory of the Gnome Chemistry Utils source archive (sources in <a class="el" href="testgtkchem3dviewer_8c.html">testgtkchem3dviewer.c</a>). <hr/> <h2>Properties</h2> <p>There are two properties:</p> <ul> <li>"display3d": Display3DMode (Read / Write). <br/> This property is used to set the display mode. When using the Bonobo control, a string is used instead the enumeration. Possible values are:<ul> <li>BALL_AND_STICK: use ball and stick representation; atoms are represented by spheres with a radius equal to 20% of their van der Waals radius and bonds are displayed as cylinders. String version is "ball&stick".</li> <li>SPACEFILL: use space filling representation; atoms are represented by spheres with a radius equal their van der Waals radius; bonds are not displayed. String version is "spacefill".</li> </ul> </li> </ul> <ul> <li>"bgcolor": gchar* (Read / Write). <br/> The background color for the display, for example "black" or "#ffffe6". Only "black", "white" and "#rrggbb" are accepted in this version of the Gnome Chemistry Utils. <h2>Functions</h2> </li> </ul> <p>Functions related to the <a class="el" href="structGtkChem3DViewer.html">GtkChem3DViewer</a> Widget are described in the <a class="el" href="gtkchem3dviewer_8h.html">gtkchem3dviewer.h</a> page. </p> <hr/>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="gtkchem3dviewer_8h_source.html">gtkchem3dviewer.h</a></li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:53 2009 for The Gnome Chemistry Utils by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>