gtkdatabox  1.0.0
About: GtkDatabox is a Gtk+-widget for live display of large amounts of fluctuating numerical data.
  Fossies Dox: gtkdatabox-1.0.0.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

gtkdatabox_points.h
Go to the documentation of this file.
1 /* $Id: gtkdatabox_points.h 4 2008-06-22 09:19:11Z rbock $ */
2 /* GtkDatabox - An extension to the gtk+ library
3  * Copyright (C) 1998 - 2008 Dr. Roland Bock
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public License
7  * as published by the Free Software Foundation; either version 2.1
8  * of the License, or (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 /**
21  * SECTION:gtkdatabox_points
22  * @short_description: A #GtkDataboxGraph used for displaying xy-values as dots.
23  * @include: gtkdatabox_points.h
24  * @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxLines, #GtkDataboxBars, #GtkDataboxMarkers
25  *
26  * #GtkDataboxPoints is a #GtkDataboxGraph class for displaying xy-values as dots.
27  *
28  */
29 
30 #ifndef __GTK_DATABOX_POINTS_H__
31 #define __GTK_DATABOX_POINTS_H__
32 
33 #include <gtkdatabox_xyc_graph.h>
34 
35 G_BEGIN_DECLS
36 #define GTK_DATABOX_TYPE_POINTS (gtk_databox_points_get_type ())
37 #define GTK_DATABOX_POINTS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
38  GTK_DATABOX_TYPE_POINTS, \
39  GtkDataboxPoints))
40 #define GTK_DATABOX_POINTS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), \
41  GTK_DATABOX_TYPE_POINTS, \
42  GtkDataboxPointsClass))
43 #define GTK_DATABOX_IS_POINTS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
44  GTK_DATABOX_TYPE_POINTS))
45 #define GTK_DATABOX_IS_POINTS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), \
46  GTK_DATABOX_TYPE_POINTS))
47 #define GTK_DATABOX_POINTS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), \
48  GTK_DATABOX_TYPE_POINTS, \
49  GtkDataboxPointsClass))
50 
51 /**
52  * GtkDataboxPoints
53  *
54  * #GtkDataboxPoints is a #GtkDataboxGraph class for displaying xy-values as dots.
55  *
56  * @see_also: #GtkDatabox, #GtkDataboxGraph, #GtkDataboxLines, #GtkDataboxBars, #GtkDataboxMarkers
57  */
58 
59  typedef struct _GtkDataboxPoints GtkDataboxPoints;
60 
61  /**
62  * GtkDataboxPointsClass
63  *
64  * The object class of #GtkDataboxPoints.
65  *
66  **/
68 
70  {
71  /*< private >*/
73  };
74 
76  {
78  };
79 
81 
82  GtkDataboxGraph *gtk_databox_points_new (guint len, gfloat * X, gfloat * Y,
83  GdkRGBA * color, gint size);
84 
85  GtkDataboxGraph *gtk_databox_points_new_full (guint maxlen, guint len,
86  void * X, guint xstart, guint xstride, GType xtype,
87  void * Y, guint ystart, guint ystride, GType ytype,
88  GdkRGBA * color, gint size);
89 
90 G_END_DECLS
91 #endif /* __GTK_DATABOX_POINTS_H__ */
GtkDataboxGraph * gtk_databox_points_new(guint len, gfloat *X, gfloat *Y, GdkRGBA *color, gint size)
GType gtk_databox_points_get_type(void)
GtkDataboxGraph * gtk_databox_points_new_full(guint maxlen, guint len, void *X, guint xstart, guint xstride, GType xtype, void *Y, guint ystart, guint ystride, GType ytype, GdkRGBA *color, gint size)
GtkDataboxXYCGraphClass parent_class
GtkDataboxXYCGraph parent