<!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: gcuspectrumviewer.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  <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="summary"> <a href="#define-members">Macros</a> | <a href="#typedef-members">Typedefs</a> | <a href="#func-members">Functions</a> </div> <div class="headertitle"> <div class="title">gcuspectrumviewer.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <goffice/goffice.h></code><br/> </div> <p><a href="gcuspectrumviewer_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:a293c29f96aba4d015dc7bc1af5e98963"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>   (gcu_spectrum_viewer_get_type ())</td></tr> <tr class="memitem:a145825790112735d8dce0e2139b9faaf"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a145825790112735d8dce0e2139b9faaf">GCU_SPECTRUM_VIEWER</a>(obj)   (G_TYPE_CHECK_INSTANCE_CAST ((obj), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>, <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a>))</td></tr> <tr class="memitem:a37091d70769d1f40570b16cf2b994e54"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a37091d70769d1f40570b16cf2b994e54">GCU_SPECTRUM_VIEWER_CLASS</a>(klass)   (G_TYPE_CHECK_CLASS_CAST ((klass), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>, <a class="el" href="gcuspectrumviewer_8h.html#a6fac7246072f83418969cbf73964cab6">GcuSpectrumViewerClass</a></td></tr> <tr class="memitem:a4931a29ff281eea17fce68897397269e"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a4931a29ff281eea17fce68897397269e">GCU_IS_SPECTRUM_VIEWER</a>(obj)   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>))</td></tr> <tr class="memitem:ab6f267ee6222acaef3263fc75681c100"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#ab6f267ee6222acaef3263fc75681c100">GCU_IS_SPECTRUM_VIEWER_CLASS</a>(klass)   (G_TYPE_CHECK_CLASS_TYPE ((klass), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>))</td></tr> <tr class="memitem:a6f6e85a675f865fec4852875924e53a4"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a6f6e85a675f865fec4852875924e53a4">GCU_SPECTRUM_VIEWER_GET_CLASS</a>(obj)   (G_TYPE_INSTANCE_GET_CLASS ((obj), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>, <a class="el" href="gcuspectrumviewer_8h.html#a6fac7246072f83418969cbf73964cab6">GcuSpectrumViewerClass</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:ae5831b5c998d6d04af7c84a05eb27cc1"><td class="memItemLeft" align="right" valign="top">typedef struct _GcuSpectrumViewer </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#ae5831b5c998d6d04af7c84a05eb27cc1">GcuSpectrumViewer</a></td></tr> <tr class="memitem:a6fac7246072f83418969cbf73964cab6"><td class="memItemLeft" align="right" valign="top">typedef struct <br class="typebreak"/> _GcuSpectrumViewerClass </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a6fac7246072f83418969cbf73964cab6">GcuSpectrumViewerClass</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:a3659d107fd301330796c817b84e68005"><td class="memItemLeft" align="right" valign="top">GtkWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a3659d107fd301330796c817b84e68005">gcu_spectrum_viewer_new</a> (const gchar *uri)</td></tr> <tr class="memitem:a4ca68be37051ac100fb30c47773043e5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a4ca68be37051ac100fb30c47773043e5">gcu_spectrum_viewer_set_uri</a> (<a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> *viewer, const gchar *uri)</td></tr> <tr class="memitem:a14b054c614fe718ed51227b4b9684ca9"><td class="memItemLeft" align="right" valign="top">GogGraph * </td><td class="memItemRight" valign="bottom"><a class="el" href="gcuspectrumviewer_8h.html#a14b054c614fe718ed51227b4b9684ca9">gcu_spectrum_viewer_get_graph</a> (<a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> *viewer)</td></tr> </table> <a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Declaration of the <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> widget. </p> <p>Definition in file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div><h2>Macro Definition Documentation</h2> <a class="anchor" id="a4931a29ff281eea17fce68897397269e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_IS_SPECTRUM_VIEWER</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">obj</td><td>)</td> <td>   (G_TYPE_CHECK_INSTANCE_TYPE ((obj), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_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="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> widget, FALSE otherwise. </dd></dl> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00050">50</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <a class="anchor" id="ab6f267ee6222acaef3263fc75681c100"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_IS_SPECTRUM_VIEWER_CLASS</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">klass</td><td>)</td> <td>   (G_TYPE_CHECK_CLASS_TYPE ((klass), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_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 GcuSpectrumViewerClass, FALSE otherwise. </dd></dl> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00054">54</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <a class="anchor" id="a145825790112735d8dce0e2139b9faaf"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_SPECTRUM_VIEWER</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">obj</td><td>)</td> <td>   (G_TYPE_CHECK_INSTANCE_CAST ((obj), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>, <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a>))</td> </tr> </table> </div><div class="memdoc"> <p>Casts <em>obj</em> to a <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> * pointer. </p> <dl class="section return"><dt>Returns</dt><dd>a pointer to the <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> * or NULL if <em>obj</em> does not point to a <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> widget. </dd></dl> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00041">41</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <a class="anchor" id="a37091d70769d1f40570b16cf2b994e54"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_SPECTRUM_VIEWER_CLASS</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">klass</td><td>)</td> <td>   (G_TYPE_CHECK_CLASS_CAST ((klass), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>, <a class="el" href="gcuspectrumviewer_8h.html#a6fac7246072f83418969cbf73964cab6">GcuSpectrumViewerClass</a></td> </tr> </table> </div><div class="memdoc"> <p>Casts <em>klass</em> to a GcuSpectrumViewerClass * pointer. </p> <dl class="section return"><dt>Returns</dt><dd>a pointer to the GcuSpectrumViewerClass * or NULL if <em>obj</em> not point to a GcuSpectrumViewerClass </dd></dl> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00046">46</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <a class="anchor" id="a6f6e85a675f865fec4852875924e53a4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_SPECTRUM_VIEWER_GET_CLASS</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">obj</td><td>)</td> <td>   (G_TYPE_INSTANCE_GET_CLASS ((obj), <a class="el" href="gcuspectrumviewer_8h.html#a293c29f96aba4d015dc7bc1af5e98963">GCU_TYPE_SPECTRUM_VIEWER</a>, <a class="el" href="gcuspectrumviewer_8h.html#a6fac7246072f83418969cbf73964cab6">GcuSpectrumViewerClass</a>))</td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>the GcuSpectrumViewerClass * associated to <em>obj</em> if obj points to a <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> widget, NULL otherwise. </dd></dl> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00059">59</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <a class="anchor" id="a293c29f96aba4d015dc7bc1af5e98963"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_TYPE_SPECTRUM_VIEWER   (gcu_spectrum_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="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> </dd></dl> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00035">35</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <h2>Typedef Documentation</h2> <a class="anchor" id="ae5831b5c998d6d04af7c84a05eb27cc1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct _GcuSpectrumViewer <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a></td> </tr> </table> </div><div class="memdoc"> <p>The <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> widget. </p> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00069">69</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <a class="anchor" id="a6fac7246072f83418969cbf73964cab6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct _GcuSpectrumViewerClass <a class="el" href="gcuspectrumviewer_8h.html#a6fac7246072f83418969cbf73964cab6">GcuSpectrumViewerClass</a></td> </tr> </table> </div><div class="memdoc"> <p>The <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> widget object class. </p> <p>Definition at line <a class="el" href="gcuspectrumviewer_8h_source.html#l00071">71</a> of file <a class="el" href="gcuspectrumviewer_8h_source.html">gcuspectrumviewer.h</a>.</p> </div> </div> <h2>Function Documentation</h2> <a class="anchor" id="a14b054c614fe718ed51227b4b9684ca9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GogGraph* gcu_spectrum_viewer_get_graph </td> <td>(</td> <td class="paramtype"><a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> * </td> <td class="paramname"><em>viewer</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">viewer</td><td>a pointer to GcuSectrumViewer widget.</td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the graph displayed by the widget. </dd></dl> </div> </div> <a class="anchor" id="a3659d107fd301330796c817b84e68005"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkWidget* gcu_spectrum_viewer_new </td> <td>(</td> <td class="paramtype">const gchar * </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 spectrum to display</td></tr> </table> </dd> </dl> <p>Creates a <a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> widget and fills it with the data from uri. If uri is NULL, the widget will display an empty chart. </p> </div> </div> <a class="anchor" id="a4ca68be37051ac100fb30c47773043e5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcu_spectrum_viewer_set_uri </td> <td>(</td> <td class="paramtype"><a class="el" href="structGcuSpectrumViewer.html">GcuSpectrumViewer</a> * </td> <td class="paramname"><em>viewer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const gchar * </td> <td class="paramname"><em>uri</em> </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 GcuSectrumViewer widget. </td></tr> <tr><td class="paramname">uri</td><td>the URI of the file containing the spectrum to display.</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  <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>