<!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"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>The Gnome Chemistry Utils: gcuchem3dviewer.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">The Gnome Chemistry Utils  <span id="projectnumber">0.14.2</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_6719ab1f1f7655efc2fa43f7eb574fd1.html">libs</a></li><li class="navelem"><a class="el" href="dir_9d0e2ffb2597f8e76985e7846c7e7149.html">gcugtk</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">gcuchem3dviewer.h</div> </div> </div><!--header--> <div class="contents"> <a href="gcuchem3dviewer_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * Gnome Chemisty Utils</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * gcuchem3dviewer.h</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Copyright (C) 2003-2012 Jean Bréfort <jean.brefort@normalesup.org></span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> *</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> * This program is free software; you can redistribute it and/or</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * modify it under the terms of the GNU General Public License as</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * published by the Free Software Foundation; either version 3 of the</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> * License, or (at your option) any later version.</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> *</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * This program is distributed in the hope that it will be useful,</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * GNU General Public License for more details.</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> *</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * You should have received a copy of the GNU General Public License</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> * along with this program; if not, write to the Free Software</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="comment"> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="comment"> * USA</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="comment"> */</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="preprocessor">#ifndef GCU_CHEM3D_VIEWER_H</span></div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="preprocessor"></span><span class="preprocessor">#define GCU_CHEM3D_VIEWER_H</span></div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="preprocessor">#include <gtk/gtk.h></span></div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> </div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> G_BEGIN_DECLS</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> </div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> GType gcu_display3d_get_type (<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00039"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#a44147f33d513c95edc9d3cf8afedbdad"> 39</a></span> <span class="preprocessor">#define GCU_DISPLAY_3D (gcu_display3d_get_type ())</span></div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a"> 42</a></span> <span class="preprocessor">#define GCU_TYPE_CHEM3D_VIEWER (gcu_chem3d_viewer_get_type ())</span></div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00048"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#a7fb18c89e628ce34966ebfe94de14368"> 48</a></span> <span class="preprocessor">#define GCU_CHEM3D_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GCU_TYPE_CHEM3D_VIEWER, GcuChem3DViewer))</span></div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00053"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#a65b7ac29edfbc89edb9f4958e45e2ad5"> 53</a></span> <span class="preprocessor">#define GCU_CHEM3D_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GCU_TYPE_CHEM3D_VIEWER, GcuChem3DViewerClass))</span></div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#aa8bab44b01606371f7cba03b47885c93"> 57</a></span> <span class="preprocessor">#define GCU_IS_CHEM3D_VIEWER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GCU_TYPE_CHEM3D_VIEWER))</span></div> <div class="line"><a name="l00058"></a><span class="lineno"> 58</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00061"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#a7e8c5cbe56f14e961fe7746e9580ec19"> 61</a></span> <span class="preprocessor">#define GCU_IS_CHEM3D_VIEWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GCU_TYPE_CHEM3D_VIEWER))</span></div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00066"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#aa3b2b46bdc335605c26b1251ee44a0a0"> 66</a></span> <span class="preprocessor">#define GCU_CHEM3D_VIEWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CHEM3D_VIEWER, GcuChem3DViewerClass))</span></div> <div class="line"><a name="l00067"></a><span class="lineno"> 67</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00091"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#a1953c9c74c3006980306c320a4bd93ee"> 91</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>_GcuChem3DViewer <a class="code" href="structGcuChem3DViewer.html">GcuChem3DViewer</a>;</div> <div class="line"><a name="l00093"></a><span class="lineno"><a class="code" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4"> 93</a></span> <span class="keyword">typedef</span> <span class="keyword">struct </span>_GcuChem3DViewerClass <a class="code" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4">GcuChem3DViewerClass</a>;</div> <div class="line"><a name="l00094"></a><span class="lineno"> 94</span> </div> <div class="line"><a name="l00095"></a><span class="lineno"> 95</span> GType gcu_chem3d_viewer_get_type (<span class="keywordtype">void</span>) G_GNUC_CONST;</div> <div class="line"><a name="l00102"></a><span class="lineno"> 102</span> GtkWidget* <a class="code" href="gcuchem3dviewer_8h.html#a0282bbb9c441888160613e66da28d273">gcu_chem3d_viewer_new</a> (const gchar* uri);</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> <span class="keywordtype">void</span> <a class="code" href="gcuchem3dviewer_8h.html#a585d0f17b9faf1f58792865063bf7f03">gcu_chem3d_viewer_set_uri_with_mime_type</a> (<a class="code" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> * viewer, const gchar * uri, const gchar* mime_type);</div> <div class="line"><a name="l00119"></a><span class="lineno"> 119</span> <span class="keywordtype">void</span> <a class="code" href="gcuchem3dviewer_8h.html#a13773b9fb96357be3b5f02830021f2f4">gcu_chem3d_viewer_set_uri</a> (<a class="code" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> * viewer, const gchar * uri);</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span> <span class="keywordtype">void</span> <a class="code" href="gcuchem3dviewer_8h.html#a7cef77d0ed4e6fe8b509d7e7634cacf0">gcu_chem3d_viewer_set_data</a> (<a class="code" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> * viewer, const gchar * data, const gchar* mime_type, <span class="keywordtype">size_t</span> size);</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span> </div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> GdkPixbuf *<a class="code" href="gcuchem3dviewer_8h.html#a1b1bcbfaf14d847973fdd041e9831fd1">gcu_chem3d_viewer_new_pixbuf</a> (<a class="code" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> * viewer, guint width, guint height, gboolean use_bg);</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</span> G_END_DECLS</div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span> </div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="preprocessor">#endif //GCU_CHEM3D_VIEWER_H</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Thu Mar 14 2013 17:34:28 for The Gnome Chemistry Utils by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>