GtkDatabox
A set of GTK+ widgets to display large amounts of numerical data quickly and easily.
gtk/gtkdatabox_xyc_graph.h
Go to the documentation of this file.
00001 /* $Id: gtkdatabox_xyc_graph.h 4 2008-06-22 09:19:11Z rbock $ */
00002 /* GtkDatabox - An extension to the gtk+ library
00003  * Copyright (C) 1998 - 2008  Dr. Roland Bock
00004  *
00005  * This program is free software; you can redistribute it and/or
00006  * modify it under the terms of the GNU Lesser General Public License
00007  * as published by the Free Software Foundation; either version 2.1
00008  * of the License, or (at your option) any later version.
00009  * 
00010  * This program is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00013  * GNU Lesser General Public License for more details.
00014  * 
00015  * You should have received a copy of the GNU General Public License
00016  * along with this program; if not, write to the Free Software
00017  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
00018  */
00019 
00032 #ifndef __GTK_DATABOX_XYC_GRAPH_H__
00033 #define __GTK_DATABOX_XYC_GRAPH_H__
00034 
00035 #include <gtkdatabox_graph.h>
00036 
00037 G_BEGIN_DECLS
00038 #define GTK_DATABOX_TYPE_XYC_GRAPH                (gtk_databox_xyc_graph_get_type ())
00039 #define GTK_DATABOX_XYC_GRAPH(obj)                (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
00040                                            GTK_DATABOX_TYPE_XYC_GRAPH, \
00041                                            GtkDataboxXYCGraph))
00042 #define GTK_DATABOX_XYC_GRAPH_CLASS(klass)        (G_TYPE_CHECK_CLASS_CAST ((klass), \
00043                                            GTK_DATABOX_TYPE_XYC_GRAPH, \
00044                                            GtkDataboxXYCGraphClass))
00045 #define GTK_DATABOX_IS_XYC_GRAPH(obj)     (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
00046                                            GTK_DATABOX_TYPE_XYC_GRAPH))
00047 #define GTK_DATABOX_IS_XYC_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
00048                                            GTK_DATABOX_TYPE_XYC_GRAPH))
00049 #define GTK_DATABOX_XYC_GRAPH_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
00050                                            GTK_DATABOX_TYPE_XYC_GRAPH, \
00051                                            GtkDataboxXYCGraphClass))
00052 
00061    typedef struct _GtkDataboxXYCGraph GtkDataboxXYCGraph;
00062 
00063    typedef struct _GtkDataboxXYCGraphClass GtkDataboxXYCGraphClass;
00064 
00072    typedef struct _GtkDataboxXYCGraphPrivate GtkDataboxXYCGraphPrivate;
00073 
00074    struct _GtkDataboxXYCGraph
00075    {
00076       /*< private >*/
00077       GtkDataboxGraph parent;
00078 
00079       GtkDataboxXYCGraphPrivate *priv;
00080    };
00081 
00082    struct _GtkDataboxXYCGraphClass
00083    {
00084       GtkDataboxGraphClass parent_class;
00085    };
00086 
00087    GType gtk_databox_xyc_graph_get_type (void);
00088 
00089    guint gtk_databox_xyc_graph_get_length (GtkDataboxXYCGraph * xyc_graph);
00090    gfloat *gtk_databox_xyc_graph_get_X (GtkDataboxXYCGraph * xyc_graph);
00091    gfloat *gtk_databox_xyc_graph_get_Y (GtkDataboxXYCGraph * xyc_graph);
00092 
00093 G_END_DECLS
00094 #endif                          /* __GTK_DATABOX_XYC_GRAPH_H__ */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines