GtkDatabox
A set of GTK+ widgets to display large amounts of numerical data quickly and easily.
|
#include <gtkdatabox_xyc_graph.h>
Go to the source code of this file.
#define GTK_DATABOX_IS_MARKERS | ( | obj | ) |
(G_TYPE_CHECK_INSTANCE_TYPE ((obj), \ GTK_DATABOX_TYPE_MARKERS))
#define GTK_DATABOX_IS_MARKERS_CLASS | ( | klass | ) |
(G_TYPE_CHECK_CLASS_TYPE ((klass), \ GTK_DATABOX_TYPE_MARKERS))
#define GTK_DATABOX_MARKERS | ( | obj | ) |
(G_TYPE_CHECK_INSTANCE_CAST ((obj), \ GTK_DATABOX_TYPE_MARKERS, \ GtkDataboxMarkers))
#define GTK_DATABOX_MARKERS_CLASS | ( | klass | ) |
(G_TYPE_CHECK_CLASS_CAST ((klass), \ GTK_DATABOX_TYPE_MARKERS, \ GtkDataboxMarkersClass))
#define GTK_DATABOX_MARKERS_GET_CLASS | ( | obj | ) |
(G_TYPE_INSTANCE_GET_CLASS ((obj), \ GTK_DATABOX_TYPE_MARKERS, \ GtkDataboxMarkersClass))
#define GTK_DATABOX_TYPE_MARKERS (gtk_databox_markers_get_type ()) |
SECTION:gtkdatabox_markers : A GtkDataboxGraph used for displaying labeled markers for xy-values. gtkdatabox_markers.h : GtkDatabox, GtkDataboxGraph, GtkDataboxPoints, GtkDataboxLines, GtkDataboxBars
GtkDataboxMarkers is a GtkDataboxGraph class for displaying labeled markers (circles, triangles, lines) for xy-values.
typedef struct _GtkDataboxMarkers GtkDataboxMarkers |
GtkDataboxMarkers: : The parent object : A private structure containing internal data.
GtkDataboxMarkers is a GtkDataboxGraph class for displaying labeled markers (circles, triangles, lines) for xy-values.
typedef struct _GtkDataboxMarkersClass GtkDataboxMarkersClass |
typedef struct _GtkDataboxMarkersPrivate GtkDataboxMarkersPrivate |
GtkDataboxMarkersPrivate:
A private data structure used by the GtkDataboxMarkers. It shields all internal things from developers who are just using the object.
GtkDataboxMarkersPosition: : centered on data : marker is positioned north of data : marker is positioned east of data : marker is positioned south of data : marker is positioned west of data
Position of a marker relative to its respective X/Y value.
GtkDataboxMarkersTextPosition: : text centered on marker : text north of marker : text north-east of marker : text east of marker : text south-east of marker : text south of marker : text south-west of marker : text west of marker : text north-west of marker
Position of a label relative to its repective marker.
GType gtk_databox_markers_get_type | ( | void | ) |
GtkDataboxGraph* gtk_databox_markers_new | ( | guint | len, |
gfloat * | X, | ||
gfloat * | Y, | ||
GdkColor * | color, | ||
guint | size, | ||
GtkDataboxMarkersType | type | ||
) |
gtk_databox_markers_new: : length of and : array of horizontal position values of markers : array of vertical position values of markers : color of the markers : marker size or line width (depending on the ) : type of markers (e.g. triangle or circle)
Creates a new GtkDataboxMarkers object which can be added to a GtkDatabox widget as nice decoration for other graphs.
Return value: A new GtkDataboxMarkers object
void gtk_databox_markers_set_label | ( | GtkDataboxMarkers * | markers, |
guint | index, | ||
GtkDataboxMarkersTextPosition | label_position, | ||
gchar * | text, | ||
gboolean | boxed | ||
) |
gtk_databox_markers_set_label: : A GtkDataboxMarkers object : index within the array of X/Y values : position of the label relative to the marker : text to be displayed in the label : Whether the label is to be enclosed in a box (true) or not (false)
Sets a label for one of the markers.
void gtk_databox_markers_set_position | ( | GtkDataboxMarkers * | markers, |
guint | index, | ||
GtkDataboxMarkersPosition | position | ||
) |
gtk_databox_markers_set_position: : A GtkDataboxMarkers object : index within the array of X/Y values : position of the marker (e.g. circle or triangle relative to their X/Y value
Sets a position for one of the markers.