<!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 Source File</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</h1><a href="gtkperiodic_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">// -*- C -*-</span> <a name="l00002"></a>00002 <a name="l00003"></a>00003 <span class="comment">/* </span> <a name="l00004"></a>00004 <span class="comment"> * Gnome Chemisty Utils</span> <a name="l00005"></a>00005 <span class="comment"> * gtkperiodic.h </span> <a name="l00006"></a>00006 <span class="comment"> *</span> <a name="l00007"></a>00007 <span class="comment"> * Copyright (C) 2002-2006 Jean Bréfort <jean.brefort@normalesup.org></span> <a name="l00008"></a>00008 <span class="comment"> *</span> <a name="l00009"></a>00009 <span class="comment"> * This program is free software; you can redistribute it and/or </span> <a name="l00010"></a>00010 <span class="comment"> * modify it under the terms of the GNU General Public License as </span> <a name="l00011"></a>00011 <span class="comment"> * published by the Free Software Foundation; either version 2 of the</span> <a name="l00012"></a>00012 <span class="comment"> * License, or (at your option) any later version.</span> <a name="l00013"></a>00013 <span class="comment"> *</span> <a name="l00014"></a>00014 <span class="comment"> * This program is distributed in the hope that it will be useful,</span> <a name="l00015"></a>00015 <span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span> <a name="l00016"></a>00016 <span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span> <a name="l00017"></a>00017 <span class="comment"> * GNU General Public License for more details.</span> <a name="l00018"></a>00018 <span class="comment"> *</span> <a name="l00019"></a>00019 <span class="comment"> * You should have received a copy of the GNU General Public License</span> <a name="l00020"></a>00020 <span class="comment"> * along with this program; if not, write to the Free Software</span> <a name="l00021"></a>00021 <span class="comment"> * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301</span> <a name="l00022"></a>00022 <span class="comment"> * USA</span> <a name="l00023"></a>00023 <span class="comment"> */</span> <a name="l00024"></a>00024 <a name="l00025"></a>00025 <span class="preprocessor">#ifndef GTK_PERIODIC_H</span> <a name="l00026"></a>00026 <span class="preprocessor"></span><span class="preprocessor">#define GTK_PERIODIC_H</span> <a name="l00027"></a>00027 <span class="preprocessor"></span> <a name="l00028"></a>00028 <span class="preprocessor">#include <gdk/gdk.h></span> <a name="l00029"></a>00029 <span class="preprocessor">#include <gtk/gtkbin.h></span> <a name="l00030"></a>00030 <span class="preprocessor">#include <gtk/gtkvbox.h></span> <a name="l00031"></a>00031 <span class="preprocessor">#include <gtk/gtktogglebutton.h></span> <a name="l00032"></a>00032 <a name="l00033"></a>00033 G_BEGIN_DECLS <a name="l00034"></a>00034 <a name="l00045"></a><a class="code" href="gtkperiodic_8h.html#aa2afe1d513d264446ee20cc5a5a86eb1">00045</a> <span class="keyword">enum</span> <a class="code" href="gtkperiodic_8h.html#aa2afe1d513d264446ee20cc5a5a86eb1">GtkPeriodicColorSchemes</a> <a name="l00046"></a>00046 { <a name="l00047"></a>00047 GTK_PERIODIC_COLOR_NONE, <a name="l00048"></a>00048 GTK_PERIODIC_COLOR_DEFAULT, <a name="l00049"></a>00049 GTK_PERIODIC_COLOR_MAX, <a name="l00050"></a>00050 }; <a name="l00051"></a>00051 <a name="l00053"></a><a class="code" href="gtkperiodic_8h.html#adfe3ef3bedfc9b823c105ba732cc7c3a">00053</a> <span class="preprocessor">#define GTK_TYPE_PERIODIC (gtk_periodic_get_type ())</span> <a name="l00054"></a>00054 <span class="preprocessor"></span> <a name="l00059"></a><a class="code" href="gtkperiodic_8h.html#a2edede71ab48cc97a200827b1f007535">00059</a> <span class="preprocessor">#define GTK_PERIODIC(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PERIODIC, GtkPeriodic))</span> <a name="l00060"></a>00060 <span class="preprocessor"></span> <a name="l00064"></a><a class="code" href="gtkperiodic_8h.html#a6581a4a5095891d9097a524931e9e850">00064</a> <span class="preprocessor">#define GTK_PERIODIC_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PERIODIC, GtkPeriodicClass))</span> <a name="l00065"></a>00065 <span class="preprocessor"></span> <a name="l00068"></a><a class="code" href="gtkperiodic_8h.html#a36e5bde14a98d1d5dfc8733f5af998b2">00068</a> <span class="preprocessor">#define GTK_IS_PERIODIC(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PERIODIC))</span> <a name="l00069"></a>00069 <span class="preprocessor"></span> <a name="l00072"></a><a class="code" href="gtkperiodic_8h.html#a74e3d78506a62ec975a1ab4f61119d3f">00072</a> <span class="preprocessor">#define GTK_IS_PERIODIC_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PERIODIC))</span> <a name="l00073"></a>00073 <span class="preprocessor"></span> <a name="l00077"></a><a class="code" href="gtkperiodic_8h.html#aee43920822f7a44be45aae37d844f52e">00077</a> <span class="preprocessor">#define GTK_PERIODIC_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PERIODIC, GtkPeriodicClass))</span> <a name="l00078"></a>00078 <span class="preprocessor"></span> <a name="l00080"></a><a class="code" href="gtkperiodic_8h.html#aa9f414d25eece35d81c7da91ce3f48d2">00080</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_GtkPeriodic <a class="code" href="structGtkPeriodic.html">GtkPeriodic</a>; <a name="l00082"></a><a class="code" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">00082</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>_GtkPeriodicClass <a class="code" href="gtkperiodic_8h.html#af6abb75cadd6377eec8a07142ef9d7ed">GtkPeriodicClass</a>; <a name="l00083"></a>00083 <a name="l00126"></a><a class="code" href="gtkperiodic_8h.html#a34a5bf9cae9f8f9ed3533cd48ecf19b7">00126</a> <span class="keyword">typedef</span> void (*<a class="code" href="gtkperiodic_8h.html#a34a5bf9cae9f8f9ed3533cd48ecf19b7">GtkPeriodicColorFunc</a>) (int, GdkColor*, gpointer); <a name="l00127"></a>00127 <a name="l00129"></a>00129 GType <a class="code" href="gtkperiodic_8h.html#a44d36356bbf4b44edb1dd892e7101620">gtk_periodic_get_type</a> (<span class="keywordtype">void</span>) G_GNUC_CONST; <a name="l00131"></a>00131 GtkWidget* <a class="code" href="gtkperiodic_8h.html#ad7441db2e4a65f760aec2d23f4411987">gtk_periodic_new</a> (<span class="keywordtype">void</span>); <a name="l00132"></a>00132 <a name="l00141"></a>00141 guint <a class="code" href="gtkperiodic_8h.html#ab39a7ae4323578f986cf9761306aac24">gtk_periodic_get_element</a> (<a class="code" href="structGtkPeriodic.html">GtkPeriodic</a>* periodic); <a name="l00150"></a>00150 <span class="keywordtype">void</span> <a class="code" href="gtkperiodic_8h.html#adf201237a25493703edd10bc760a53c7">gtk_periodic_set_element</a> (<a class="code" href="structGtkPeriodic.html">GtkPeriodic</a>* periodic, guint element); <a name="l00151"></a>00151 <a name="l00162"></a>00162 <span class="keywordtype">int</span> <a class="code" href="gtkperiodic_8h.html#ac919ffad7e8ba5d497651faf98908601">gtk_periodic_add_color_scheme</a> (<a class="code" href="structGtkPeriodic.html">GtkPeriodic</a> *periodic, <a name="l00163"></a>00163 <a class="code" href="gtkperiodic_8h.html#a34a5bf9cae9f8f9ed3533cd48ecf19b7">GtkPeriodicColorFunc</a> func, <a name="l00164"></a>00164 GtkWidget *extra_widget, <a name="l00165"></a>00165 gpointer user_data); <a name="l00166"></a>00166 <a name="l00173"></a>00173 <span class="keywordtype">void</span> <a class="code" href="gtkperiodic_8h.html#a2a5ff94493aae80116ae3246f64a58dd">gtk_periodic_set_colors</a>(<a class="code" href="structGtkPeriodic.html">GtkPeriodic</a> *periodic); <a name="l00174"></a>00174 G_END_DECLS <a name="l00175"></a>00175 <a name="l00176"></a>00176 <span class="preprocessor">#endif //GTK_PERIODIC_H</span> </pre></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>