<!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"/> <title>The Gnome Chemistry Utils: gtkperiodic.h File Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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> <li><a href="dirs.html"><span>Directories</span></a></li> </ul> </div> <div class="tabs"> <ul> <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 class="navpath"><a class="el" href="dir_3f1a4fbcec42af7c381c8030b930461d.html">libs</a> » <a class="el" href="dir_4dc46c636cfd3997b28f6cceab9d70bd.html">gcu</a> </div> </div> <div class="contents"> <h1>gtkperiodic.h File Reference</h1><code>#include <gdk/gdk.h></code><br/> <code>#include <gtk/gtkbin.h></code><br/> <code>#include <gtk/gtkvbox.h></code><br/> <code>#include <gtk/gtktogglebutton.h></code><br/> <p><a href="gtkperiodic_8h_source.html">Go to the source code of this file.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#adfe3ef3bedfc9b823c105ba732cc7c3a">GTK_TYPE_PERIODIC</a> (gtk_periodic_get_type ())</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#a2edede71ab48cc97a200827b1f007535">GTK_PERIODIC</a>(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PERIODIC, <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a>))</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#a6581a4a5095891d9097a524931e9e850">GTK_PERIODIC_CLASS</a>(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PERIODIC, <a class="el" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">GtkPeriodicClass</a>))</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#a36e5bde14a98d1d5dfc8733f5af998b2">GTK_IS_PERIODIC</a>(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PERIODIC))</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#a74e3d78506a62ec975a1ab4f61119d3f">GTK_IS_PERIODIC_CLASS</a>(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PERIODIC))</td></tr> <tr><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#aee43920822f7a44be45aae37d844f52e">GTK_PERIODIC_GET_CLASS</a>(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PERIODIC, <a class="el" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">GtkPeriodicClass</a>))</td></tr> <tr><td colspan="2"><h2>Typedefs</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef struct _GtkPeriodic </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#aa9f414d25eece35d81c7da91ce3f48d2">GtkPeriodic</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef struct _GtkPeriodicClass </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">GtkPeriodicClass</a></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#a34a5bf9cae9f8f9ed3533cd48ecf19b7">GtkPeriodicColorFunc</a> )(int, GdkColor *, gpointer)</td></tr> <tr><td colspan="2"><h2>Enumerations</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#aa2afe1d513d264446ee20cc5a5a86eb1">GtkPeriodicColorSchemes</a> </td></tr> <tr><td colspan="2"><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">GType </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#a44d36356bbf4b44edb1dd892e7101620">gtk_periodic_get_type</a> (void) G_GNUC_CONST</td></tr> <tr><td class="memItemLeft" align="right" valign="top">GtkWidget * </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#ad7441db2e4a65f760aec2d23f4411987">gtk_periodic_new</a> (void)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">guint </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#ab39a7ae4323578f986cf9761306aac24">gtk_periodic_get_element</a> (<a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> *periodic)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#adf201237a25493703edd10bc760a53c7">gtk_periodic_set_element</a> (<a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> *periodic, guint element)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#ac919ffad7e8ba5d497651faf98908601">gtk_periodic_add_color_scheme</a> (<a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> *periodic, <a class="el" href="gtkperiodic_8h.html#a34a5bf9cae9f8f9ed3533cd48ecf19b7">GtkPeriodicColorFunc</a> func, GtkWidget *extra_widget, gpointer user_data)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="gtkperiodic_8h.html#a2a5ff94493aae80116ae3246f64a58dd">gtk_periodic_set_colors</a> (<a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> *periodic)</td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Declaration of the <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget. </p> <p>Definition in file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> <hr/><h2>Define Documentation</h2> <a class="anchor" id="a36e5bde14a98d1d5dfc8733f5af998b2"></a><!-- doxytag: member="gtkperiodic.h::GTK_IS_PERIODIC" ref="a36e5bde14a98d1d5dfc8733f5af998b2" args="(obj)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GTK_IS_PERIODIC</td> <td>(</td> <td class="paramtype">obj </td> <td class="paramname"></td> <td> ) </td> <td> (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PERIODIC))</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if <em>obj</em> points to a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget, FALSE otherwise. </dd></dl> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00068">68</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <a class="anchor" id="a74e3d78506a62ec975a1ab4f61119d3f"></a><!-- doxytag: member="gtkperiodic.h::GTK_IS_PERIODIC_CLASS" ref="a74e3d78506a62ec975a1ab4f61119d3f" args="(klass)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GTK_IS_PERIODIC_CLASS</td> <td>(</td> <td class="paramtype">klass </td> <td class="paramname"></td> <td> ) </td> <td> (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PERIODIC))</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>TRUE if <em>klass</em> points to a GtkPeriodicClass, FALSE otherwise. </dd></dl> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00072">72</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <a class="anchor" id="a2edede71ab48cc97a200827b1f007535"></a><!-- doxytag: member="gtkperiodic.h::GTK_PERIODIC" ref="a2edede71ab48cc97a200827b1f007535" args="(obj)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GTK_PERIODIC</td> <td>(</td> <td class="paramtype">obj </td> <td class="paramname"></td> <td> ) </td> <td> (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PERIODIC, <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a>))</td> </tr> </table> </div> <div class="memdoc"> <p>Casts <em>obj</em> to a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> * pointer. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> * or NULL if <em>obj</em> does not point to a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget. </dd></dl> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00059">59</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> <p>Referenced by <a class="el" href="testgtkperiodic_8c_source.html#l00066">main()</a>.</p> </div> </div> <a class="anchor" id="a6581a4a5095891d9097a524931e9e850"></a><!-- doxytag: member="gtkperiodic.h::GTK_PERIODIC_CLASS" ref="a6581a4a5095891d9097a524931e9e850" args="(klass)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GTK_PERIODIC_CLASS</td> <td>(</td> <td class="paramtype">klass </td> <td class="paramname"></td> <td> ) </td> <td> (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PERIODIC, <a class="el" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">GtkPeriodicClass</a>))</td> </tr> </table> </div> <div class="memdoc"> <p>Casts <em>klass</em> to a GtkPeriodicClass * pointer. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a pointer to the GtkPeriodicClass * or NULL if <em>obj</em> not point to a GtkPeriodicClass. </dd></dl> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00064">64</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <a class="anchor" id="aee43920822f7a44be45aae37d844f52e"></a><!-- doxytag: member="gtkperiodic.h::GTK_PERIODIC_GET_CLASS" ref="aee43920822f7a44be45aae37d844f52e" args="(obj)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GTK_PERIODIC_GET_CLASS</td> <td>(</td> <td class="paramtype">obj </td> <td class="paramname"></td> <td> ) </td> <td> (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PERIODIC, <a class="el" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">GtkPeriodicClass</a>))</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the GtkPeriodicClass * associated to <em>obj</em> if obj points to a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget, NULL otherwise. </dd></dl> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00077">77</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <a class="anchor" id="adfe3ef3bedfc9b823c105ba732cc7c3a"></a><!-- doxytag: member="gtkperiodic.h::GTK_TYPE_PERIODIC" ref="adfe3ef3bedfc9b823c105ba732cc7c3a" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define GTK_TYPE_PERIODIC (gtk_periodic_get_type ())</td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the GType associated to <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> </dd></dl> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00053">53</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <hr/><h2>Typedef Documentation</h2> <a class="anchor" id="aa9f414d25eece35d81c7da91ce3f48d2"></a><!-- doxytag: member="gtkperiodic.h::GtkPeriodic" ref="aa9f414d25eece35d81c7da91ce3f48d2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct _GtkPeriodic <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a></td> </tr> </table> </div> <div class="memdoc"> <p>The <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget. </p> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00080">80</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <a class="anchor" id="af6abb75cadd6377eec8a07142ef9d7ed"></a><!-- doxytag: member="gtkperiodic.h::GtkPeriodicClass" ref="af6abb75cadd6377eec8a07142ef9d7ed" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef struct _GtkPeriodicClass <a class="el" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">GtkPeriodicClass</a></td> </tr> </table> </div> <div class="memdoc"> <p>The <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget object class. </p> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00082">82</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <a class="anchor" id="a34a5bf9cae9f8f9ed3533cd48ecf19b7"></a><!-- doxytag: member="gtkperiodic.h::GtkPeriodicColorFunc" ref="a34a5bf9cae9f8f9ed3533cd48ecf19b7" args=")(int, GdkColor *, gpointer)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef void(* <a class="el" href="gtkperiodic_8h.html#a34a5bf9cae9f8f9ed3533cd48ecf19b7">GtkPeriodicColorFunc</a>)(int, GdkColor *, gpointer)</td> </tr> </table> </div> <div class="memdoc"> <p>The callback used for color schemes. It takes three arguments: </p> <ul> <li>the atomic number Z. </li> <li>a pointer to the GdkColor structure to be filled by the callback </li> <li>a pointer to user's data. </li> </ul> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00126">126</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <hr/><h2>Enumeration Type Documentation</h2> <a class="anchor" id="aa2afe1d513d264446ee20cc5a5a86eb1"></a><!-- doxytag: member="gtkperiodic.h::GtkPeriodicColorSchemes" ref="aa2afe1d513d264446ee20cc5a5a86eb1" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="gtkperiodic_8h.html#aa2afe1d513d264446ee20cc5a5a86eb1">GtkPeriodicColorSchemes</a></td> </tr> </table> </div> <div class="memdoc"> <p>Predefined coloring scheme used for the buttons when displaying the periodic table of the <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget. Possible values are:</p> <ul> <li>GTK_PERIODIC_COLOR_NONE: the default Gtk theme is used.</li> <li>GTK_PERIODIC_COLOR_DEFAULT: the default color for each element is used as returned by gcu_element_get_default_color. Other values can be added using gtk_periodic_add_color_scheme. </li> </ul> <p>Definition at line <a class="el" href="gtkperiodic_8h_source.html#l00045">45</a> of file <a class="el" href="gtkperiodic_8h_source.html">gtkperiodic.h</a>.</p> </div> </div> <hr/><h2>Function Documentation</h2> <a class="anchor" id="ac919ffad7e8ba5d497651faf98908601"></a><!-- doxytag: member="gtkperiodic.h::gtk_periodic_add_color_scheme" ref="ac919ffad7e8ba5d497651faf98908601" args="(GtkPeriodic *periodic, GtkPeriodicColorFunc func, GtkWidget *extra_widget, gpointer user_data)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int gtk_periodic_add_color_scheme </td> <td>(</td> <td class="paramtype"><a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> * </td> <td class="paramname"> <em>periodic</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="gtkperiodic_8h.html#a34a5bf9cae9f8f9ed3533cd48ecf19b7">GtkPeriodicColorFunc</a> </td> <td class="paramname"> <em>func</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">GtkWidget * </td> <td class="paramname"> <em>extra_widget</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gpointer </td> <td class="paramname"> <em>user_data</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>periodic</em> </td><td>a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget. </td></tr> <tr><td valign="top"></td><td valign="top"><em>func</em> </td><td>the callback used to get the color for an element in the new color scheme. </td></tr> <tr><td valign="top"></td><td valign="top"><em>extra_widget</em> </td><td>a widget to be added as a child of <em>periodic</em>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>user_data</em> </td><td>data to be passed to the <em>func</em> callback.</td></tr> </table> </dd> </dl> <p>Using this function and the appropriate callback, the color used for the elements buttons can be changed to depend on any property of the elements. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>the identifier of the new color scheme. </dd></dl> </div> </div> <a class="anchor" id="ab39a7ae4323578f986cf9761306aac24"></a><!-- doxytag: member="gtkperiodic.h::gtk_periodic_get_element" ref="ab39a7ae4323578f986cf9761306aac24" args="(GtkPeriodic *periodic)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">guint gtk_periodic_get_element </td> <td>(</td> <td class="paramtype"><a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> * </td> <td class="paramname"> <em>periodic</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>gtk_periodic_get_element: </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>periodic</em> </td><td>a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget</td></tr> </table> </dd> </dl> <p>Description: used to get the currently selected element in the periodic table.</p> <p>Returns: the atomic number of the currently selected element or 0 if none is selected. </p> </div> </div> <a class="anchor" id="a44d36356bbf4b44edb1dd892e7101620"></a><!-- doxytag: member="gtkperiodic.h::gtk_periodic_get_type" ref="a44d36356bbf4b44edb1dd892e7101620" args="(void) G_GNUC_CONST" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GType gtk_periodic_get_type </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl class="return"><dt><b>Returns:</b></dt><dd>the GType associated to <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> </dd></dl> </div> </div> <a class="anchor" id="ad7441db2e4a65f760aec2d23f4411987"></a><!-- doxytag: member="gtkperiodic.h::gtk_periodic_new" ref="ad7441db2e4a65f760aec2d23f4411987" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GtkWidget* gtk_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="return"><dt><b>Returns:</b></dt><dd>a new <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> </dd></dl> <p>Referenced by <a class="el" href="testgtkperiodic_8c_source.html#l00066">main()</a>.</p> </div> </div> <a class="anchor" id="a2a5ff94493aae80116ae3246f64a58dd"></a><!-- doxytag: member="gtkperiodic.h::gtk_periodic_set_colors" ref="a2a5ff94493aae80116ae3246f64a58dd" args="(GtkPeriodic *periodic)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gtk_periodic_set_colors </td> <td>(</td> <td class="paramtype"><a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> * </td> <td class="paramname"> <em>periodic</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>periodic</em> </td><td>a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget.</td></tr> </table> </dd> </dl> <p>Forces the update of the current color scheme. This is useful when the color scheme depends upon a parameter which has changed. </p> </div> </div> <a class="anchor" id="adf201237a25493703edd10bc760a53c7"></a><!-- doxytag: member="gtkperiodic.h::gtk_periodic_set_element" ref="adf201237a25493703edd10bc760a53c7" args="(GtkPeriodic *periodic, guint element)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void gtk_periodic_set_element </td> <td>(</td> <td class="paramtype"><a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> * </td> <td class="paramname"> <em>periodic</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">guint </td> <td class="paramname"> <em>element</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>gtk_periodic_set_element: </p> <dl><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>periodic</em> </td><td>a <a class="el" href="structGtkPeriodic.html">GtkPeriodic</a> widget </td></tr> <tr><td valign="top"></td><td valign="top"><em>element</em> </td><td>the atomic number of the element to select or 0</td></tr> </table> </dd> </dl> <p>Description: sets the selected element in the periodic table. </p> </div> </div> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Sun Sep 6 18:33:53 2009 for The Gnome Chemistry Utils by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>