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

Go to the source code of this file.

Data Structures

struct  _GtkDataboxLines
 
struct  _GtkDataboxLinesClass
 

Macros

#define GTK_DATABOX_TYPE_LINES   (gtk_databox_lines_get_type ())
 
#define GTK_DATABOX_LINES(obj)
 
#define GTK_DATABOX_LINES_CLASS(klass)
 
#define GTK_DATABOX_IS_LINES(obj)
 
#define GTK_DATABOX_IS_LINES_CLASS(klass)
 
#define GTK_DATABOX_LINES_GET_CLASS(obj)
 

Typedefs

typedef struct _GtkDataboxLines GtkDataboxLines
 
typedef struct _GtkDataboxLinesClass GtkDataboxLinesClass
 

Functions

GType gtk_databox_lines_get_type (void)
 
GtkDataboxGraphgtk_databox_lines_new (guint len, gfloat *X, gfloat *Y, GdkRGBA *color, guint size)
 
GtkDataboxGraphgtk_databox_lines_new_full (guint maxlen, guint len, void *X, guint xstart, guint xstride, GType xtype, void *Y, guint ystart, guint ystride, GType ytype, GdkRGBA *color, guint size)
 

Macro Definition Documentation

◆ GTK_DATABOX_IS_LINES

#define GTK_DATABOX_IS_LINES (   obj)
Value:
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
#define GTK_DATABOX_TYPE_LINES

Definition at line 43 of file gtkdatabox_lines.h.

◆ GTK_DATABOX_IS_LINES_CLASS

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

Definition at line 45 of file gtkdatabox_lines.h.

◆ GTK_DATABOX_LINES

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

Definition at line 37 of file gtkdatabox_lines.h.

◆ GTK_DATABOX_LINES_CLASS

#define GTK_DATABOX_LINES_CLASS (   klass)
Value:
(G_TYPE_CHECK_CLASS_CAST ((klass), \

Definition at line 40 of file gtkdatabox_lines.h.

◆ GTK_DATABOX_LINES_GET_CLASS

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

Definition at line 47 of file gtkdatabox_lines.h.

◆ GTK_DATABOX_TYPE_LINES

#define GTK_DATABOX_TYPE_LINES   (gtk_databox_lines_get_type ())

SECTION:gtkdatabox_lines @short_description: A GtkDataboxGraph used for displaying xy-values series of connected lines. gtkdatabox_lines.h @see_also: GtkDatabox, GtkDataboxGraph, GtkDataboxPoints, GtkDataboxBars, GtkDataboxMarkers

GtkDataboxLines is a GtkDataboxGraph class for displaying xy-values as series of connected lines.

Definition at line 36 of file gtkdatabox_lines.h.

Typedef Documentation

◆ GtkDataboxLines

GtkDataboxLines

GtkDataboxLines is a GtkDataboxGraph class for displaying xy-values as series of connected lines.

Definition at line 35 of file gtkdatabox_lines.h.

◆ GtkDataboxLinesClass

GtkDataboxLinesClass

The object class of GtkDataboxLines.

Definition at line 35 of file gtkdatabox_lines.h.

Function Documentation

◆ gtk_databox_lines_get_type()

GType gtk_databox_lines_get_type ( void  )

◆ gtk_databox_lines_new()

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

gtk_databox_lines_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 GtkDataboxLines object which can be added to a GtkDatabox widget.

Return value: A new GtkDataboxLines object

Definition at line 91 of file gtkdatabox_lines.c.

References GTK_DATABOX_GRAPH, and GTK_DATABOX_TYPE_LINES.

◆ gtk_databox_lines_new_full()

GtkDataboxGraph* gtk_databox_lines_new_full ( guint  maxlen,
guint  len,
void *  X,
guint  xstart,
guint  xstride,
GType  xtype,
void *  Y,
guint  ystart,
guint  ystride,
GType  ytype,
GdkRGBA *  color,
guint  size 
)

gtk_databox_lines_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 GtkDataboxLines object which can be added to a GtkDatabox widget.

Return value: A new GtkDataboxLines object

Definition at line 135 of file gtkdatabox_lines.c.

References GTK_DATABOX_GRAPH, and GTK_DATABOX_TYPE_LINES.