GtkDatabox A set of GTK+ widgets to display large amounts of numerical data quickly and easily.

- Main Page
- Data Structures
- Files

- File List
- Globals

gtk/gtkdatabox_bars.h
Go to the documentation of this file.

    00001 /* $Id: gtkdatabox_bars.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
    00030 #ifndef __GTK_DATABOX_BARS_H__
    00031 #define __GTK_DATABOX_BARS_H__
    00032
    00033 #include <gtkdatabox_xyc_graph.h>
    00034
    00035 G_BEGIN_DECLS
    00036 #define GTK_DATABOX_TYPE_BARS             (gtk_databox_bars_get_type ())
    00037 #define GTK_DATABOX_BARS(obj)             (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
    00038                                            GTK_DATABOX_TYPE_BARS, \
    00039                                            GtkDataboxBars))
    00040 #define GTK_DATABOX_BARS_CLASS(klass)     (G_TYPE_CHECK_CLASS_CAST ((klass), \
    00041                                            GTK_DATABOX_TYPE_BARS, \
    00042                                            GtkDataboxBarsClass))
    00043 #define GTK_DATABOX_IS_BARS(obj)          (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
    00044                                            GTK_DATABOX_TYPE_BARS))
    00045 #define GTK_DATABOX_IS_BARS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
    00046                                            GTK_DATABOX_TYPE_BARS))
    00047 #define GTK_DATABOX_BARS_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
    00048                                            GTK_DATABOX_TYPE_BARS, \
    00049                                            GtkDataboxBarsClass))
    00050
    00058    typedef struct _GtkDataboxBars GtkDataboxBars;
    00059
    00060    typedef struct _GtkDataboxBarsClass GtkDataboxBarsClass;
    00061
    00069    typedef struct _GtkDataboxBarsPrivate GtkDataboxBarsPrivate;
    00070
    00071    struct _GtkDataboxBars
    00072    {
    00073       /*< private >*/
    00074       GtkDataboxXYCGraph parent;
    00075
    00076       GtkDataboxBarsPrivate *priv;
    00077    };
    00078
    00079    struct _GtkDataboxBarsClass
    00080    {
    00081       GtkDataboxXYCGraphClass parent_class;
    00082    };
    00083
    00084    GType gtk_databox_bars_get_type (void);
    00085
    00086    GtkDataboxGraph *gtk_databox_bars_new (guint len, gfloat * X, gfloat * Y,
    00087                                           GdkColor * color, guint size);
    00088
    00089 G_END_DECLS
    00090 #endif                          /* __GTK_DATABOX_BARS_H__ */

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines