Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

gtkperiodic.h

Go to the documentation of this file.
00001 // -*- C -*- 00002 00003 /* 00004 * Gnome Chemisty Utils 00005 * gtkperiodic.h 00006 * 00007 * Copyright (C) 2002-2004 00008 * 00009 * Developed by Jean Bréfort <jean.brefort@normalesup.org> 00010 * 00011 * This library is free software; you can redistribute it and/or 00012 * modify it under the terms of the GNU Lesser General Public 00013 * License as published by the Free Software Foundation; either 00014 * version 2.1 of the License, or (at your option) any later version. 00015 * 00016 * This library is distributed in the hope that it will be useful, 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00019 * Lesser General Public License for more details. 00020 * 00021 * You should have received a copy of the GNU Lesser General Public 00022 * License along with this library; if not, write to the 00023 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00024 * Boston, MA 02111-1307, USA. 00025 */ 00026 00027 #ifndef GTK_PERIODIC_H 00028 #define GTK_PERIODIC_H 00029 00030 #include <gdk/gdk.h> 00031 #include <gtk/gtkbin.h> 00032 #include <gtk/gtkvbox.h> 00033 #include <gtk/gtktogglebutton.h> 00034 00035 G_BEGIN_DECLS 00036 00047 typedef enum 00048 { 00049 GTK_PERIODIC_COLOR_NONE, 00050 GTK_PERIODIC_COLOR_DEFAULT, 00051 } GtkPeriodicColorStyle; 00052 00053 #define GTK_TYPE_PERIODIC (gtk_periodic_get_type ()) 00054 #define GTK_PERIODIC(obj) (GTK_CHECK_CAST ((obj), GTK_TYPE_PERIODIC, GtkPeriodic)) 00055 #define GTK_PERIODIC_CLASS(klass) (GTK_CHECK_CLASS_CAST ((klass), GTK_TYPE_PERIODIC, GtkPeriodicClass)) 00056 #define GTK_IS_PERIODIC(obj) (GTK_CHECK_TYPE ((obj), GTK_TYPE_PERIODIC)) 00057 #define GTK_IS_PERIODIC_CLASS(klass) (GTK_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PERIODIC)) 00058 #define GTK_PERIODIC_GET_CLASS(obj) (GTK_CHECK_GET_CLASS ((obj), GTK_TYPE_PERIODIC, GtkPeriodicClass)) 00059 00060 typedef struct _GtkPeriodic GtkPeriodic; 00061 typedef struct _GtkPeriodicClass GtkPeriodicClass; 00062 typedef struct _GtkPeriodicPrivate GtkPeriodicPrivate; 00063 00097 struct _GtkPeriodic 00098 { 00099 GtkBin bin; 00100 00101 GtkPeriodicPrivate *priv; 00102 }; 00103 00104 struct _GtkPeriodicClass 00105 { 00106 GtkBinClass parent_class; 00107 00108 void (* element_changed_event)(GtkPeriodic *periodic); 00109 }; 00110 00111 GType gtk_periodic_get_type (void) G_GNUC_CONST; 00112 GtkWidget* gtk_periodic_new (void); 00113 00122 guint gtk_periodic_get_element (GtkPeriodic* periodic); 00131 void gtk_periodic_set_element (GtkPeriodic* periodic, guint element); 00132 00133 G_END_DECLS 00134 00135 #endif //GTK_PERIODIC_H

Generated on Tue Sep 21 14:59:35 2004 for The Gnome Chemistry Utils by doxygen 1.3.8