GtkDataboxCrossSimple

GtkDataboxCrossSimple — A GtkDataboxGraph used for displaying a simple coordinate cross.

Synopsis


#include <gtkdatabox_cross_simple.h>

                    GtkDataboxCrossSimplePrivate;
                    GtkDataboxCrossSimple;
GtkDataboxGraph*    gtk_databox_cross_simple_new        (GdkColor *color,
                                                         guint size);

Object Hierarchy

  GObject
   +----GtkDataboxGraph
         +----GtkDataboxXYCGraph
               +----GtkDataboxMarkers
                     +----GtkDataboxCrossSimple

Description

GtkDataboxCrossSimple is a GtkDataboxGraph class for displaying a simple coordinate cross (a vertical line at x=0 and a horizontal line at y=0).

A more sophisticated coordinate cross would be welcome :-)

Details

GtkDataboxCrossSimplePrivate

typedef struct _GtkDataboxCrossSimplePrivate GtkDataboxCrossSimplePrivate;

A private data structure used by the GtkDataboxCrossSimple. It shields all internal things from developers who are just using the object.


GtkDataboxCrossSimple

typedef struct _GtkDataboxCrossSimple GtkDataboxCrossSimple;

GtkDataboxCrossSimple is a GtkDataboxGraph class for displaying a simple coordinate cross (a vertical line at x=0 and a horizontal line at y=0).

A more sophisticated coordinate cross would be welcome :-)


gtk_databox_cross_simple_new ()

GtkDataboxGraph*    gtk_databox_cross_simple_new        (GdkColor *color,
                                                         guint size);

Creates a new GtkDataboxCrossSimple object which can be added to a GtkDatabox widget as nice decoration for other graphs.

color :

color of the markers

size :

marker size or line width (depending on the type)

Returns :

A new GtkDataboxCrossSimple object

See Also

GtkDatabox, GtkDataboxGraph, GtkDataboxPoints, GtkDataboxLines, GtkDataboxBars, GtkDataboxMarkers