| GTK-EXTRA - Reference Manual

| Home

## Name

### Gtkplotcsurface - csurface plots widget for gtk+

## Synopsis

    GtkType

    gtk_plot_csurface_get_type

    (void);

    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_lines_only

    (GtkPlotCSurface *csurface,
    gboolean lines);

    gboolean

    gtk_plot_csurface_lines_only

    (GtkPlotCSurface *csurface);

    void

    gtk_plot_csurface_set_labels_visible

    (GtkPlotCSurface *csurface,
    gboolean visible);

    gboolean

    gtk_plot_csurface_labels_visible

    (GtkPlotCSurface *csurface);

## Object Hierarchy

##
Args

## Signal Prototypes

    No signals

## Description

##
Details

    struct GtkPlotCSurface

##
Screenshot

### gtk_plot_csurface_get_type ()

    GtkType gtk_plot_csurface_get_type (void);

Returns |

##

### gtk_plot_csurface_new ()

    GtkWidget* gtk_plot_csurface_new (void);

Returns | the canvas widget

### gtk_plot_csurface_new_function ()

    GtkWidget* gtk_plot_csurface_new_function (GtkPlotFunc3D function);

### gtk_plot_csurface_construct_function ()

    void gtk_plot_csurface_construct_function (GtkPlotCSurface *csurface,
                                               GtkPlotFunc3D function);

### gtk_plot_csurface_get_legends_precision ()

    gint gtk_plot_csurface_get_legends_precision (GtkPlotCSurface *csurface);

### gtk_plot_csurface_set_lines_visible ()

    void gtk_plot_csurface_set_lines_visible (GtkPlotCSurface *csurface,
                                              gboolean visible);

### gtk_plot_csurface_get_lines_visible ()

    gboolean gtk_plot_csurface_get_lines_visible (GtkPlotCSurface *csurface);

### gtk_plot_csurface_set_lines_only ()

    void gtk_plot_csurface_set_lines_only (GtkPlotCSurface *csurface,
                                           gboolean lines);

### gtk_plot_csurface_set_labels_visible ()

    void gtk_plot_csurface_set_labels_visible(GtkPlotCSurface *csurface,
                                              gboolean visible);

### gtk_plot_csurface_labels_visible ()

    gboolean gtk_plot_csurface_labels_visible (GtkPlotCSurface *csurface);

## DETAILS

    struct _GtkPlotCSurface

    {
      GtkPlotSurface surface;
      gboolean lines_visible;  /* show contour level lines */
      gboolean project_xy;     /* project on x-y plane */
      gboolean lines_only;     /* draw contour lines only */
      gboolean labels_visible; /* show contour labels */
      GtkPlotVector *levels_start, *levels_end;  /* contour lines */
      GtkPlotVector *sublevels_start, *sublevels_end;  /* contour lines */
      gint num_levels;
      gint num_sublevels;
      gpointer *polygons;
      gint npolygons;
      GtkPlotLine levels_line;
      GtkPlotLine sublevels_line;
    };

##

| Home |  |