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 File Reference
Include dependency graph for gtkdatabox_points.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _GtkDataboxPoints
 
struct  _GtkDataboxPointsClass
 

Macros

#define GTK_DATABOX_TYPE_POINTS   (gtk_databox_points_get_type ())
 
#define GTK_DATABOX_POINTS(obj)
 
#define GTK_DATABOX_POINTS_CLASS(klass)
 
#define GTK_DATABOX_IS_POINTS(obj)
 
#define GTK_DATABOX_IS_POINTS_CLASS(klass)
 
#define GTK_DATABOX_POINTS_GET_CLASS(obj)
 

Typedefs

typedef struct _GtkDataboxPoints GtkDataboxPoints
 
typedef struct _GtkDataboxPointsClass GtkDataboxPointsClass
 

Functions

GType gtk_databox_points_get_type (void)
 
GtkDataboxGraphgtk_databox_points_new (guint len, gfloat *X, gfloat *Y, GdkRGBA *color, gint size)
 
GtkDataboxGraphgtk_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)
 

Macro Definition Documentation

◆ GTK_DATABOX_IS_POINTS

#define GTK_DATABOX_IS_POINTS (   obj)
Value:
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
#define GTK_DATABOX_TYPE_POINTS

Definition at line 43 of file gtkdatabox_points.h.

◆ GTK_DATABOX_IS_POINTS_CLASS

#define GTK_DATABOX_IS_POINTS_CLASS (   klass)
Value:
(G_TYPE_CHECK_CLASS_TYPE ((klass), \

Definition at line 45 of file gtkdatabox_points.h.

◆ GTK_DATABOX_POINTS

#define GTK_DATABOX_POINTS (   obj)
Value:
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \

Definition at line 37 of file gtkdatabox_points.h.

◆ GTK_DATABOX_POINTS_CLASS

#define GTK_DATABOX_POINTS_CLASS (   klass)
Value:

Definition at line 40 of file gtkdatabox_points.h.

◆ GTK_DATABOX_POINTS_GET_CLASS

#define GTK_DATABOX_POINTS_GET_CLASS (   obj)
Value:
(G_TYPE_INSTANCE_GET_CLASS ((obj), \

Definition at line 47 of file gtkdatabox_points.h.

◆ GTK_DATABOX_TYPE_POINTS

#define GTK_DATABOX_TYPE_POINTS   (gtk_databox_points_get_type ())

SECTION:gtkdatabox_points @short_description: A GtkDataboxGraph used for displaying xy-values as dots. gtkdatabox_points.h @see_also: GtkDatabox, GtkDataboxGraph, GtkDataboxLines, GtkDataboxBars, GtkDataboxMarkers

GtkDataboxPoints is a GtkDataboxGraph class for displaying xy-values as dots.

Definition at line 36 of file gtkdatabox_points.h.

Typedef Documentation

◆ GtkDataboxPoints

GtkDataboxPoints

GtkDataboxPoints is a GtkDataboxGraph class for displaying xy-values as dots.

@see_also: GtkDatabox, GtkDataboxGraph, GtkDataboxLines, GtkDataboxBars, GtkDataboxMarkers

Definition at line 35 of file gtkdatabox_points.h.

◆ GtkDataboxPointsClass

GtkDataboxPointsClass

The object class of GtkDataboxPoints.

Definition at line 35 of file gtkdatabox_points.h.

Function Documentation

◆ gtk_databox_points_get_type()

GType gtk_databox_points_get_type ( void  )

◆ gtk_databox_points_new()

GtkDataboxGraph* gtk_databox_points_new ( guint  len,
gfloat *  X,
gfloat *  Y,
GdkRGBA *  color,
gint  size 
)

gtk_databox_points_new: @len: length of @X and @Y @X: array of horizontal position values of markers @Y: array of vertical position values of markers @color: color of the markers @size: marker size or line width (depending on the @type)

Creates a new GtkDataboxPoints object which can be added to a GtkDatabox widget.

Return value: A new GtkDataboxPoints object

Definition at line 99 of file gtkdatabox_points.c.

References GTK_DATABOX_GRAPH, and GTK_DATABOX_TYPE_POINTS.

◆ gtk_databox_points_new_full()

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 
)

gtk_databox_points_new_full: @maxlen: maximum length of @X and @Y @len: actual number of @X and @Y values to plot @X: array of horizontal position values of markers @Y: array of vertical position values of markers @xstart: the first element in the X array to plot (usually 0) @ystart: the first element in the Y array to plot (usually 0) @xstride: successive elements in the X array are separated by this much (1 if array, ncols if matrix) @ystride: successive elements in the Y array are separated by this much (1 if array, ncols if matrix) @xtype: the GType of the X array elements. G_TYPE_FLOAT, G_TYPE_DOUBLE, etc. @ytype: the GType of the Y array elements. G_TYPE_FLOAT, G_TYPE_DOUBLE, etc. @color: color of the markers @size: marker size or line width (depending on the @type)

Creates a new GtkDataboxPoints object which can be added to a GtkDatabox widget.

Return value: A new GtkDataboxPoints object

Definition at line 142 of file gtkdatabox_points.c.

References GTK_DATABOX_GRAPH, and GTK_DATABOX_TYPE_POINTS.