Sophie

Sophie

distrib > Mageia > 3 > x86_64 > by-pkgid > d2855e9970bf9a8259f08fe181d69f9d > files > 708

gnome-chemistry-utils-devel-0.14.2-1.mga3.x86_64.rpm

<!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 File Reference</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
   &#160;<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&#160;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&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;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="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">gcuchem3dviewer.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;gtk/gtk.h&gt;</code><br/>
</div>
<p><a href="gcuchem3dviewer_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a44147f33d513c95edc9d3cf8afedbdad"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a44147f33d513c95edc9d3cf8afedbdad">GCU_DISPLAY_3D</a>&#160;&#160;&#160;(gcu_display3d_get_type ())</td></tr>
<tr class="memitem:a506bbcd971da889e627299d77d837f4a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>&#160;&#160;&#160;(gcu_chem3d_viewer_get_type ())</td></tr>
<tr class="memitem:a7fb18c89e628ce34966ebfe94de14368"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a7fb18c89e628ce34966ebfe94de14368">GCU_CHEM3D_VIEWER</a>(obj)&#160;&#160;&#160;(G_TYPE_CHECK_INSTANCE_CAST ((obj), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>, <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a>))</td></tr>
<tr class="memitem:a65b7ac29edfbc89edb9f4958e45e2ad5"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a65b7ac29edfbc89edb9f4958e45e2ad5">GCU_CHEM3D_VIEWER_CLASS</a>(klass)&#160;&#160;&#160;(G_TYPE_CHECK_CLASS_CAST ((klass), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>, <a class="el" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4">GcuChem3DViewerClass</a>))</td></tr>
<tr class="memitem:aa8bab44b01606371f7cba03b47885c93"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#aa8bab44b01606371f7cba03b47885c93">GCU_IS_CHEM3D_VIEWER</a>(obj)&#160;&#160;&#160;(G_TYPE_CHECK_INSTANCE_TYPE ((obj), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>))</td></tr>
<tr class="memitem:a7e8c5cbe56f14e961fe7746e9580ec19"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a7e8c5cbe56f14e961fe7746e9580ec19">GCU_IS_CHEM3D_VIEWER_CLASS</a>(klass)&#160;&#160;&#160;(G_TYPE_CHECK_CLASS_TYPE ((klass), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>))</td></tr>
<tr class="memitem:aa3b2b46bdc335605c26b1251ee44a0a0"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#aa3b2b46bdc335605c26b1251ee44a0a0">GCU_CHEM3D_VIEWER_GET_CLASS</a>(obj)&#160;&#160;&#160;(G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CHEM3D_VIEWER, <a class="el" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4">GcuChem3DViewerClass</a>))</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a1953c9c74c3006980306c320a4bd93ee"><td class="memItemLeft" align="right" valign="top">typedef struct _GcuChem3DViewer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a1953c9c74c3006980306c320a4bd93ee">GcuChem3DViewer</a></td></tr>
<tr class="memitem:a0e7b3af3d859375fbaac0a41749f45f4"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
_GcuChem3DViewerClass&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4">GcuChem3DViewerClass</a></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a0282bbb9c441888160613e66da28d273"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a0282bbb9c441888160613e66da28d273">gcu_chem3d_viewer_new</a> (const gchar *uri)</td></tr>
<tr class="memitem:a585d0f17b9faf1f58792865063bf7f03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a585d0f17b9faf1f58792865063bf7f03">gcu_chem3d_viewer_set_uri_with_mime_type</a> (<a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *viewer, const gchar *uri, const gchar *mime_type)</td></tr>
<tr class="memitem:a13773b9fb96357be3b5f02830021f2f4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a13773b9fb96357be3b5f02830021f2f4">gcu_chem3d_viewer_set_uri</a> (<a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *viewer, const gchar *uri)</td></tr>
<tr class="memitem:a7cef77d0ed4e6fe8b509d7e7634cacf0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a7cef77d0ed4e6fe8b509d7e7634cacf0">gcu_chem3d_viewer_set_data</a> (<a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *viewer, const gchar *data, const gchar *mime_type, size_t size)</td></tr>
<tr class="memitem:a1b1bcbfaf14d847973fdd041e9831fd1"><td class="memItemLeft" align="right" valign="top">GdkPixbuf *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcuchem3dviewer_8h.html#a1b1bcbfaf14d847973fdd041e9831fd1">gcu_chem3d_viewer_new_pixbuf</a> (<a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *viewer, guint width, guint height, gboolean use_bg)</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Declaration of the <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget. </p>

<p>Definition in file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>
</div><h2>Macro Definition Documentation</h2>
<a class="anchor" id="a7fb18c89e628ce34966ebfe94de14368"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCU_CHEM3D_VIEWER</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">obj</td><td>)</td>
          <td>&#160;&#160;&#160;(G_TYPE_CHECK_INSTANCE_CAST ((obj), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>, <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Casts <em>obj</em> to a <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> * pointer. </p>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> * or NULL if <em>obj</em> does not point to a <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget. </dd></dl>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00048">48</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a65b7ac29edfbc89edb9f4958e45e2ad5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCU_CHEM3D_VIEWER_CLASS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">klass</td><td>)</td>
          <td>&#160;&#160;&#160;(G_TYPE_CHECK_CLASS_CAST ((klass), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>, <a class="el" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4">GcuChem3DViewerClass</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Casts <em>klass</em> to a GcuChem3DViewerClass * pointer. </p>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the GcuChem3DViewerClass * or NULL if <em>obj</em> not point to a GcuChem3DViewerClass. </dd></dl>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00053">53</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa3b2b46bdc335605c26b1251ee44a0a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCU_CHEM3D_VIEWER_GET_CLASS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">obj</td><td>)</td>
          <td>&#160;&#160;&#160;(G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CHEM3D_VIEWER, <a class="el" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4">GcuChem3DViewerClass</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the GcuChem3DViewerClass * associated to <em>obj</em> if obj points to a <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget, NULL otherwise. </dd></dl>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00066">66</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a44147f33d513c95edc9d3cf8afedbdad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCU_DISPLAY_3D&#160;&#160;&#160;(gcu_display3d_get_type ())</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the GType associated to the Display3D enum. </dd></dl>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00039">39</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa8bab44b01606371f7cba03b47885c93"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCU_IS_CHEM3D_VIEWER</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">obj</td><td>)</td>
          <td>&#160;&#160;&#160;(G_TYPE_CHECK_INSTANCE_TYPE ((obj), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>TRUE if <em>obj</em> points to a <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget, FALSE otherwise. </dd></dl>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00057">57</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7e8c5cbe56f14e961fe7746e9580ec19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCU_IS_CHEM3D_VIEWER_CLASS</td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname">klass</td><td>)</td>
          <td>&#160;&#160;&#160;(G_TYPE_CHECK_CLASS_TYPE ((klass), <a class="el" href="gcuchem3dviewer_8h.html#a506bbcd971da889e627299d77d837f4a">GCU_TYPE_CHEM3D_VIEWER</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>TRUE if <em>klass</em> points to a GcuChem3DViewerClass, FALSE otherwise. </dd></dl>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00061">61</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a506bbcd971da889e627299d77d837f4a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCU_TYPE_CHEM3D_VIEWER&#160;&#160;&#160;(gcu_chem3d_viewer_get_type ())</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the GType associated to <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> </dd></dl>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00042">42</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<h2>Typedef Documentation</h2>
<a class="anchor" id="a1953c9c74c3006980306c320a4bd93ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct _GcuChem3DViewer <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget. </p>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00091">91</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0e7b3af3d859375fbaac0a41749f45f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct _GcuChem3DViewerClass <a class="el" href="gcuchem3dviewer_8h.html#a0e7b3af3d859375fbaac0a41749f45f4">GcuChem3DViewerClass</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget object class. </p>

<p>Definition at line <a class="el" href="gcuchem3dviewer_8h_source.html#l00093">93</a> of file <a class="el" href="gcuchem3dviewer_8h_source.html">gcuchem3dviewer.h</a>.</p>

</div>
</div>
<h2>Function Documentation</h2>
<a class="anchor" id="a0282bbb9c441888160613e66da28d273"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkWidget* gcu_chem3d_viewer_new </td>
          <td>(</td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>uri</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">uri,:</td><td>the URI of the file containing the molecular structure to display. Any file supported by <a href="http://openbabel.sourceforge.net">OpenBabel</a> may be used.</td></tr>
  </table>
  </dd>
</dl>
<p>Creates a <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget and fills it with the data from uri. If uri is NULL, the widget will be empty. </p>

<p>Referenced by <a class="el" href="testgcuchem3dviewer_8c_source.html#l00043">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a1b1bcbfaf14d847973fdd041e9831fd1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbuf* gcu_chem3d_viewer_new_pixbuf </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *&#160;</td>
          <td class="paramname"><em>viewer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">gboolean&#160;</td>
          <td class="paramname"><em>use_bg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewer</td><td>a pointer to a <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget. </td></tr>
    <tr><td class="paramname">width</td><td>the width of the new pixbuf. </td></tr>
    <tr><td class="paramname">height</td><td>the height of the new pixbuf. </td></tr>
    <tr><td class="paramname">use_bg</td><td>whether to use the window background or a transparent background.</td></tr>
  </table>
  </dd>
</dl>
<p>Renders the scene to a newly allocated pixbuf. </p>
<dl class="section return"><dt>Returns</dt><dd>the new GdkPixbuf*. </dd></dl>

</div>
</div>
<a class="anchor" id="a7cef77d0ed4e6fe8b509d7e7634cacf0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu_chem3d_viewer_set_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *&#160;</td>
          <td class="paramname"><em>viewer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>data</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>mime_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>size</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewer</td><td>a pointer to <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget. </td></tr>
    <tr><td class="paramname">data</td><td>a pointer to the raw data representing a serialized version of molecule to display </td></tr>
    <tr><td class="paramname">mime_type</td><td>the mime_type of the data. Any type supported by <a href="http://openbabel.sourceforge.net">OpenBabel</a> may be used. </td></tr>
    <tr><td class="paramname">size</td><td>the data size.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the molecule displayed by the one described in the data. Nothing happens if data or mime-type is NULL. </p>

</div>
</div>
<a class="anchor" id="a13773b9fb96357be3b5f02830021f2f4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu_chem3d_viewer_set_uri </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *&#160;</td>
          <td class="paramname"><em>viewer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>uri</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewer</td><td>a pointer to <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget. </td></tr>
    <tr><td class="paramname">uri</td><td>the URI of the file containing the molecular structure to display. <a href="http://openbabel.sourceforge.net">OpenBabel</a> may be used.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the molecule displayed by the one described in the uri. Nothing happens if uri is NULL. </p>

</div>
</div>
<a class="anchor" id="a585d0f17b9faf1f58792865063bf7f03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcu_chem3d_viewer_set_uri_with_mime_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> *&#160;</td>
          <td class="paramname"><em>viewer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>uri</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const gchar *&#160;</td>
          <td class="paramname"><em>mime_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">viewer</td><td>a pointer to <a class="el" href="structGcuChem3DViewer.html">GcuChem3DViewer</a> widget. </td></tr>
    <tr><td class="paramname">uri</td><td>the URI of the file containing the molecular structure to display. Any file supported by </td></tr>
    <tr><td class="paramname">mime_type,:</td><td>the mime_type of the data. Any type supported by <a href="http://openbabel.sourceforge.net">OpenBabel</a> may be used.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the molecule displayed by the one described in the uri. Nothing happens if uri is NULL. </p>

</div>
</div>
</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 &#160;<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>