GtkPlotCSurface

GtkPlotCSurface

Synopsis


#include <gtkextra.h>

                    GtkPlotCSurface;
enum                GtkPlotProjection;
GtkWidget*          gtk_plot_csurface_new               (void);
GtkWidget*          gtk_plot_csurface_new_function      (GtkPlotFunc3D function);
void                gtk_plot_csurface_construct_function
                                                        (GtkPlotCSurface *csurface,
                                                         GtkPlotFunc3D function);
void                gtk_plot_csurface_set_lines_visible (GtkPlotCSurface *csurface,
                                                         gboolean visible);
gboolean            gtk_plot_csurface_get_lines_visible (GtkPlotCSurface *csurface);
void                gtk_plot_csurface_set_projection    (GtkPlotCSurface *csurface,
                                                         GtkPlotProjection proj);
GtkPlotProjection   gtk_plot_csurface_projection        (GtkPlotCSurface *csurface);
void                gtk_plot_csurface_set_levels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle style,
                                                         gfloat width,
                                                         const GdkColor *color);
void                gtk_plot_csurface_set_sublevels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle style,
                                                         gfloat width,
                                                         const GdkColor *color);
void                gtk_plot_csurface_get_levels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle *style,
                                                         gfloat *width,
                                                         GdkColor *color);
void                gtk_plot_csurface_get_sublevels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle *style,
                                                         gfloat *width,
                                                         GdkColor *color);

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GtkObject
               +----GtkWidget
                     +----GtkPlotData
                           +----GtkPlotSurface
                                 +----GtkPlotCSurface

Implemented Interfaces

GtkPlotCSurface implements AtkImplementorIface and GtkBuildable.

Properties

  "levels-color"             gpointer              : Read / Write
  "levels-style"             gint                  : Read / Write
  "levels-width"             gdouble               : Read / Write
  "lines-visible"            gint                  : Read / Write
  "projection"               gint                  : Read / Write
  "sublevels-color"          gpointer              : Read / Write
  "sublevels-style"          gint                  : Read / Write
  "sublevels-width"          gdouble               : Read / Write

Description

FIXME:: need long description

Details

GtkPlotCSurface

typedef struct _GtkPlotCSurface GtkPlotCSurface;

The GtkPlotCSurface struct contains only private data. It should only be accessed through the functions described below.


enum GtkPlotProjection

typedef enum
{
  GTK_PLOT_PROJECT_NONE,  /* draw surface with no projections */
  GTK_PLOT_PROJECT_EMPTY, /* draw empty contours -- lines only.
                             Notice that the style of the lines is given by
                             levels/sublevels_line. You should set to 
                             GTK_PLOT_LINE_NONE if you don't want the lines
                             drawn */
  GTK_PLOT_PROJECT_FULL,  /* draw filled contours */
} GtkPlotProjection;      


gtk_plot_csurface_new ()

GtkWidget*          gtk_plot_csurface_new               (void);

Returns :


gtk_plot_csurface_new_function ()

GtkWidget*          gtk_plot_csurface_new_function      (GtkPlotFunc3D function);

function :

a GtkPlotFunc3D. scope async.

Returns :


gtk_plot_csurface_construct_function ()

void                gtk_plot_csurface_construct_function
                                                        (GtkPlotCSurface *csurface,
                                                         GtkPlotFunc3D function);

csurface :

function :

a GtkPlotFunc3D. scope async.

gtk_plot_csurface_set_lines_visible ()

void                gtk_plot_csurface_set_lines_visible (GtkPlotCSurface *csurface,
                                                         gboolean visible);

csurface :

a GtkPlotCSurface/

visible :


gtk_plot_csurface_get_lines_visible ()

gboolean            gtk_plot_csurface_get_lines_visible (GtkPlotCSurface *csurface);

csurface :

a GtkPlotCSurface.

Returns :


gtk_plot_csurface_set_projection ()

void                gtk_plot_csurface_set_projection    (GtkPlotCSurface *csurface,
                                                         GtkPlotProjection proj);

csurface :

a GtkPlotCSurface.

proj :


gtk_plot_csurface_projection ()

GtkPlotProjection   gtk_plot_csurface_projection        (GtkPlotCSurface *csurface);

csurface :

a GtkPlotCSurface.

Returns :


gtk_plot_csurface_set_levels_attributes ()

void                gtk_plot_csurface_set_levels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle style,
                                                         gfloat width,
                                                         const GdkColor *color);

dataset :

a GtkPlotCSurface.

style :

width :

color :


gtk_plot_csurface_set_sublevels_attributes ()

void                gtk_plot_csurface_set_sublevels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle style,
                                                         gfloat width,
                                                         const GdkColor *color);

dataset :

a GtkPlotCSurface.

style :

width :

color :


gtk_plot_csurface_get_levels_attributes ()

void                gtk_plot_csurface_get_levels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle *style,
                                                         gfloat *width,
                                                         GdkColor *color);

dataset :

a GtkPlotCSurface.

style :

width :

color :


gtk_plot_csurface_get_sublevels_attributes ()

void                gtk_plot_csurface_get_sublevels_attributes
                                                        (GtkPlotCSurface *dataset,
                                                         GtkPlotLineStyle *style,
                                                         gfloat *width,
                                                         GdkColor *color);

dataset :

a GtkPlotCSurface.

style :

width :

color :

Property Details

The "levels-color" property

  "levels-color"             gpointer              : Read / Write


The "levels-style" property

  "levels-style"             gint                  : Read / Write

Allowed values: >= 0

Default value: 0


The "levels-width" property

  "levels-width"             gdouble               : Read / Write

Allowed values: >= 0

Default value: 0


The "lines-visible" property

  "lines-visible"            gint                  : Read / Write

Allowed values: >= 0

Default value: 0


The "projection" property

  "projection"               gint                  : Read / Write

Allowed values: >= 0

Default value: 0


The "sublevels-color" property

  "sublevels-color"          gpointer              : Read / Write


The "sublevels-style" property

  "sublevels-style"          gint                  : Read / Write

Allowed values: >= 0

Default value: 0


The "sublevels-width" property

  "sublevels-width"          gdouble               : Read / Write

Allowed values: >= 0

Default value: 0