Sophie

Sophie

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

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: gcrcrystalviewer.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_7e53c3477ad965aa554779b86f14bb80.html">gcr</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">gcrcrystalviewer.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;gtk/gtk.h&gt;</code><br/>
<code>#include &lt;libxml/tree.h&gt;</code><br/>
</div>
<p><a href="gcrcrystalviewer_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:a9b2c9f7d6644212063bf2a07ae6e6b6a"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>&#160;&#160;&#160;(gcr_crystal_viewer_get_type ())</td></tr>
<tr class="memitem:a11fe162ebf63ab36af2c4e350341855c"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a11fe162ebf63ab36af2c4e350341855c">GCR_CRYSTAL_VIEWER</a>(obj)&#160;&#160;&#160;(G_TYPE_CHECK_INSTANCE_CAST ((obj), <a class="el" href="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>, <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a>))</td></tr>
<tr class="memitem:a3ff8ccc60803a84fb6bd2a33bd37298d"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a3ff8ccc60803a84fb6bd2a33bd37298d">GCR_CRYSTAL_VIEWER_CLASS</a>(klass)&#160;&#160;&#160;(G_TYPE_CHECK_CLASS_CAST ((klass), <a class="el" href="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>, <a class="el" href="gcrcrystalviewer_8h.html#a1cd3df3ab520f1838e873691b05dce57">GcrCrystalViewerClass</a>))</td></tr>
<tr class="memitem:afa1d217223b92af1c70f15f6fca1aa14"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#afa1d217223b92af1c70f15f6fca1aa14">GCR_IS_CRYSTAL_VIEWER</a>(obj)&#160;&#160;&#160;(G_TYPE_CHECK_INSTANCE_TYPE ((obj), <a class="el" href="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>))</td></tr>
<tr class="memitem:a8cda5711a6d6a0d444255188874df401"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a8cda5711a6d6a0d444255188874df401">GCR_IS_CRYSTAL_VIEWER_CLASS</a>(klass)&#160;&#160;&#160;(G_TYPE_CHECK_CLASS_TYPE ((klass), <a class="el" href="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>))</td></tr>
<tr class="memitem:a51844df2d8406a35e0e5672b75e0a0af"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a51844df2d8406a35e0e5672b75e0a0af">GCR_CRYSTAL_VIEWER_GET_CLASS</a>(obj)&#160;&#160;&#160;(G_TYPE_INSTANCE_GET_CLASS ((obj), <a class="el" href="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>, <a class="el" href="gcrcrystalviewer_8h.html#a1cd3df3ab520f1838e873691b05dce57">GcrCrystalViewerClass</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:a4222b2501d5500eb082652aa712fe446"><td class="memItemLeft" align="right" valign="top">typedef struct _GcrCrystalViewer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a4222b2501d5500eb082652aa712fe446">GcrCrystalViewer</a></td></tr>
<tr class="memitem:a1cd3df3ab520f1838e873691b05dce57"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/>
_GcrCrystalViewerClass&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a1cd3df3ab520f1838e873691b05dce57">GcrCrystalViewerClass</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:a5b14abf1fb322ec6a51e79b3ad9efba5"><td class="memItemLeft" align="right" valign="top">GtkWidget *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#a5b14abf1fb322ec6a51e79b3ad9efba5">gcr_crystal_viewer_new</a> (xmlNodePtr node)</td></tr>
<tr class="memitem:af8c8cd6afa2ee0b3731d13c3d337667b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#af8c8cd6afa2ee0b3731d13c3d337667b">gcr_crystal_viewer_set_data</a> (<a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> *viewer, xmlNodePtr node)</td></tr>
<tr class="memitem:adb6fb99b8c6d3fc3a3ae60034408da54"><td class="memItemLeft" align="right" valign="top">GdkPixbuf *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#adb6fb99b8c6d3fc3a3ae60034408da54">gcr_crystal_viewer_new_pixbuf</a> (<a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> *viewer, guint width, guint height, gboolean use_bg)</td></tr>
<tr class="memitem:aa640091c71f0c2cba80c8aab862f2319"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#aa640091c71f0c2cba80c8aab862f2319">gcr_crystal_viewer_set_uri_with_mime_type</a> (<a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> *viewer, const gchar *uri, const gchar *mime_type)</td></tr>
<tr class="memitem:ae17032334520bc1614d2cf705a3380ae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="gcrcrystalviewer_8h.html#ae17032334520bc1614d2cf705a3380ae">gcr_crystal_viewer_set_uri</a> (<a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> *viewer, const gchar *uri)</td></tr>
</table>
<a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Declaration of the <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget. </p>

<p>Definition in file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>
</div><h2>Macro Definition Documentation</h2>
<a class="anchor" id="a11fe162ebf63ab36af2c4e350341855c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCR_CRYSTAL_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="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>, <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Casts <em>obj</em> to a <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> * pointer. </p>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> * or NULL if <em>obj</em> does not point to a <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget. </dd></dl>

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

</div>
</div>
<a class="anchor" id="a3ff8ccc60803a84fb6bd2a33bd37298d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCR_CRYSTAL_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="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>, <a class="el" href="gcrcrystalviewer_8h.html#a1cd3df3ab520f1838e873691b05dce57">GcrCrystalViewerClass</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Casts <em>klass</em> to a GcrCrystalViewerClass * pointer. </p>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the GcrCrystalViewerClass * or NULL if <em>obj</em> not point to a GcrCrystalViewerClass. </dd></dl>

<p>Definition at line <a class="el" href="gcrcrystalviewer_8h_source.html#l00047">47</a> of file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a51844df2d8406a35e0e5672b75e0a0af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCR_CRYSTAL_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), <a class="el" href="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_VIEWER</a>, <a class="el" href="gcrcrystalviewer_8h.html#a1cd3df3ab520f1838e873691b05dce57">GcrCrystalViewerClass</a>))</td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the GcrCrystalViewerClass * associated to <em>obj</em> if obj points to a <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget, NULL otherwise. </dd></dl>

<p>Definition at line <a class="el" href="gcrcrystalviewer_8h_source.html#l00060">60</a> of file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="afa1d217223b92af1c70f15f6fca1aa14"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCR_IS_CRYSTAL_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="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_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="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget, FALSE otherwise. </dd></dl>

<p>Definition at line <a class="el" href="gcrcrystalviewer_8h_source.html#l00051">51</a> of file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8cda5711a6d6a0d444255188874df401"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCR_IS_CRYSTAL_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="gcrcrystalviewer_8h.html#a9b2c9f7d6644212063bf2a07ae6e6b6a">GCR_TYPE_CRYSTAL_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 GcrCrystalViewerClass, FALSE otherwise. </dd></dl>

<p>Definition at line <a class="el" href="gcrcrystalviewer_8h_source.html#l00055">55</a> of file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9b2c9f7d6644212063bf2a07ae6e6b6a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define GCR_TYPE_CRYSTAL_VIEWER&#160;&#160;&#160;(gcr_crystal_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="structGcrCrystalViewer.html">GcrCrystalViewer</a> </dd></dl>

<p>Definition at line <a class="el" href="gcrcrystalviewer_8h_source.html#l00036">36</a> of file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>

</div>
</div>
<h2>Typedef Documentation</h2>
<a class="anchor" id="a4222b2501d5500eb082652aa712fe446"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct _GcrCrystalViewer <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget. </p>

<p>Definition at line <a class="el" href="gcrcrystalviewer_8h_source.html#l00063">63</a> of file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1cd3df3ab520f1838e873691b05dce57"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef struct _GcrCrystalViewerClass <a class="el" href="gcrcrystalviewer_8h.html#a1cd3df3ab520f1838e873691b05dce57">GcrCrystalViewerClass</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>The <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget object class. </p>

<p>Definition at line <a class="el" href="gcrcrystalviewer_8h_source.html#l00065">65</a> of file <a class="el" href="gcrcrystalviewer_8h_source.html">gcrcrystalviewer.h</a>.</p>

</div>
</div>
<h2>Function Documentation</h2>
<a class="anchor" id="a5b14abf1fb322ec6a51e79b3ad9efba5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GtkWidget* gcr_crystal_viewer_new </td>
          <td>(</td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</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">node,:</td><td>a pointer to an xlNode (from libxml) containing the serialized version of the crystal to display as saved by Gnome Crystal or NULL.</td></tr>
  </table>
  </dd>
</dl>
<p>Builds a new <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget and, if node is not NULL, fills it with the Crystal structure described in node. </p>
<dl class="section return"><dt>Returns</dt><dd>a pointer to the new viewer. </dd></dl>

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

</div>
</div>
<a class="anchor" id="adb6fb99b8c6d3fc3a3ae60034408da54"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GdkPixbuf* gcr_crystal_viewer_new_pixbuf </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</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="structGcrCrystalViewer.html">GcrCrystalViewer</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="af8c8cd6afa2ee0b3731d13c3d337667b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcr_crystal_viewer_set_data </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> *&#160;</td>
          <td class="paramname"><em>viewer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">xmlNodePtr&#160;</td>
          <td class="paramname"><em>node</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="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget. </td></tr>
    <tr><td class="paramname">node,:</td><td>a pointer to an xlNode (from libxml) containing the serialized version of the crystal to display as saved by Gnome Crystal.</td></tr>
  </table>
  </dd>
</dl>
<p>Replaces the content of viewer by the Crystal structure described in node. </p>

</div>
</div>
<a class="anchor" id="ae17032334520bc1614d2cf705a3380ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcr_crystal_viewer_set_uri </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</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 <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget. </td></tr>
    <tr><td class="paramname">uri</td><td>the URI of the file containing the crystal structure to display.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the crystal structure displayed by the one described in the uri. Nothing happens if uri is NULL. </p>

</div>
</div>
<a class="anchor" id="aa640091c71f0c2cba80c8aab862f2319"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void gcr_crystal_viewer_set_uri_with_mime_type </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</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 <a class="el" href="structGcrCrystalViewer.html">GcrCrystalViewer</a> widget. </td></tr>
    <tr><td class="paramname">uri</td><td>the URI of the file containing the crystal structure to display. </td></tr>
    <tr><td class="paramname">mime_type,:</td><td>the mime_type of the data.</td></tr>
  </table>
  </dd>
</dl>
<p>Changes the crystal structure 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>