<!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: gcucomboperiodic.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">gcucomboperiodic.h File Reference</div> </div> </div><!--header--> <div class="contents"> <div class="textblock"><code>#include <glib-object.h></code><br/> </div> <p><a href="gcucomboperiodic_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:ad4bd510a28048064b1c443d128eecabe"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcucomboperiodic_8h.html#ad4bd510a28048064b1c443d128eecabe">GCU_TYPE_COMBO_PERIODIC</a>   (gcu_combo_periodic_get_type ())</td></tr> <tr class="memitem:af61dea377a49c3f8172461b3f0a80b2b"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcucomboperiodic_8h.html#af61dea377a49c3f8172461b3f0a80b2b">GCU_COMBO_PERIODIC</a>(o)   (G_TYPE_CHECK_INSTANCE_CAST((o), <a class="el" href="gcucomboperiodic_8h.html#ad4bd510a28048064b1c443d128eecabe">GCU_TYPE_COMBO_PERIODIC</a>, <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a>))</td></tr> <tr class="memitem:a7f0a2e571293e50f23d8632ec589b551"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gcucomboperiodic_8h.html#a7f0a2e571293e50f23d8632ec589b551">GCU_IS_COMBO_PERIODIC</a>(o)   (G_TYPE_CHECK_INSTANCE_TYPE((o), <a class="el" href="gcucomboperiodic_8h.html#ad4bd510a28048064b1c443d128eecabe">GCU_TYPE_COMBO_PERIODIC</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:a9c841be2790c51cb200462c3866226e0"><td class="memItemLeft" align="right" valign="top">typedef struct _GcuComboPeriodic </td><td class="memItemRight" valign="bottom"><a class="el" href="gcucomboperiodic_8h.html#a9c841be2790c51cb200462c3866226e0">GcuComboPeriodic</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:af516d2b7d82c9cf027a4875ac67d9bf9"><td class="memItemLeft" align="right" valign="top">GtkWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="gcucomboperiodic_8h.html#af516d2b7d82c9cf027a4875ac67d9bf9">gcu_combo_periodic_new</a> (void)</td></tr> <tr class="memitem:aa41520f85f4d2331d2d53e1e9b2388fb"><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="gcucomboperiodic_8h.html#aa41520f85f4d2331d2d53e1e9b2388fb">gcu_combo_periodic_get_element</a> (<a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> *combo)</td></tr> <tr class="memitem:a594d77587f2ed4918095783390e1878a"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gcucomboperiodic_8h.html#a594d77587f2ed4918095783390e1878a">gcu_combo_periodic_set_element</a> (<a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> *combo, guint element)</td></tr> </table> <a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>Declaration of the <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> widget. </p> <p>Definition in file <a class="el" href="gcucomboperiodic_8h_source.html">gcucomboperiodic.h</a>.</p> </div><h2>Macro Definition Documentation</h2> <a class="anchor" id="af61dea377a49c3f8172461b3f0a80b2b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_COMBO_PERIODIC</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">o</td><td>)</td> <td>   (G_TYPE_CHECK_INSTANCE_CAST((o), <a class="el" href="gcucomboperiodic_8h.html#ad4bd510a28048064b1c443d128eecabe">GCU_TYPE_COMBO_PERIODIC</a>, <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a>))</td> </tr> </table> </div><div class="memdoc"> <p>Casts <em>obj</em> to a <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> * pointer. </p> <dl class="section return"><dt>Returns</dt><dd>a pointer to the <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> * or NULL if <em>obj</em> does not point to a <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> widget. </dd></dl> <p>Definition at line <a class="el" href="gcucomboperiodic_8h_source.html#l00037">37</a> of file <a class="el" href="gcucomboperiodic_8h_source.html">gcucomboperiodic.h</a>.</p> </div> </div> <a class="anchor" id="a7f0a2e571293e50f23d8632ec589b551"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_IS_COMBO_PERIODIC</td> <td>(</td> <td class="paramtype"> </td> <td class="paramname">o</td><td>)</td> <td>   (G_TYPE_CHECK_INSTANCE_TYPE((o), <a class="el" href="gcucomboperiodic_8h.html#ad4bd510a28048064b1c443d128eecabe">GCU_TYPE_COMBO_PERIODIC</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="structGcuComboPeriodic.html">GcuComboPeriodic</a> widget, FALSE otherwise. </dd></dl> <p>Definition at line <a class="el" href="gcucomboperiodic_8h_source.html#l00041">41</a> of file <a class="el" href="gcucomboperiodic_8h_source.html">gcucomboperiodic.h</a>.</p> </div> </div> <a class="anchor" id="ad4bd510a28048064b1c443d128eecabe"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GCU_TYPE_COMBO_PERIODIC   (gcu_combo_periodic_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="structGcuComboPeriodic.html">GcuComboPeriodic</a> </dd></dl> <p>Definition at line <a class="el" href="gcucomboperiodic_8h_source.html#l00031">31</a> of file <a class="el" href="gcucomboperiodic_8h_source.html">gcucomboperiodic.h</a>.</p> </div> </div> <h2>Typedef Documentation</h2> <a class="anchor" id="a9c841be2790c51cb200462c3866226e0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct _GcuComboPeriodic <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a></td> </tr> </table> </div><div class="memdoc"> <p>The <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> widget. </p> <p>Definition at line <a class="el" href="gcucomboperiodic_8h_source.html#l00066">66</a> of file <a class="el" href="gcucomboperiodic_8h_source.html">gcucomboperiodic.h</a>.</p> </div> </div> <h2>Function Documentation</h2> <a class="anchor" id="aa41520f85f4d2331d2d53e1e9b2388fb"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint gcu_combo_periodic_get_element </td> <td>(</td> <td class="paramtype"><a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> * </td> <td class="paramname"><em>combo</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">combo</td><td>a <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> widget Used to get the currently selected element in the periodic table. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the atomic number of the currently selected element or %0 if none is selected. </dd></dl> <p>Definition at line <a class="el" href="gcucomboperiodic_8c_source.html#l00121">121</a> of file <a class="el" href="gcucomboperiodic_8c_source.html">gcucomboperiodic.c</a>.</p> <p>References <a class="el" href="gcuperiodic_8h_source.html#l00073">GCU_PERIODIC</a>.</p> </div> </div> <a class="anchor" id="af516d2b7d82c9cf027a4875ac67d9bf9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkWidget* gcu_combo_periodic_new </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <dl class="section return"><dt>Returns</dt><dd>a pointer to a newly created <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> widget. </dd></dl> </div> </div> <a class="anchor" id="a594d77587f2ed4918095783390e1878a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gcu_combo_periodic_set_element </td> <td>(</td> <td class="paramtype"><a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> * </td> <td class="paramname"><em>combo</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"><em>element</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">combo</td><td>a <a class="el" href="structGcuComboPeriodic.html">GcuComboPeriodic</a> widget </td></tr> <tr><td class="paramname">element</td><td>the atomic number of the element to select or 0 Sets the selected element in the periodic table. </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="gcucomboperiodic_8c_source.html#l00126">126</a> of file <a class="el" href="gcucomboperiodic_8c_source.html">gcucomboperiodic.c</a>.</p> <p>References <a class="el" href="chemistry_8h.html#a4f87dfa17437dc175581d1a617e2caee">gcu_element_get_symbol()</a>, and <a class="el" href="gcuperiodic_8h_source.html#l00073">GCU_PERIODIC</a>.</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>