![]() |
![]() |
![]() |
GtkExtra Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#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);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkPlotData +----GtkPlotSurface +----GtkPlotCSurface
"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
typedef struct _GtkPlotCSurface GtkPlotCSurface;
The GtkPlotCSurface struct contains only private data. It should only be accessed through the functions described below.
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;
GtkWidget* gtk_plot_csurface_new_function (GtkPlotFunc3D function);
|
a GtkPlotFunc3D. scope async. |
Returns : |
void gtk_plot_csurface_construct_function (GtkPlotCSurface *csurface, GtkPlotFunc3D function);
|
|
|
a GtkPlotFunc3D. scope async. |
void gtk_plot_csurface_set_lines_visible (GtkPlotCSurface *csurface, gboolean visible);
|
a GtkPlotCSurface/ |
|
gboolean gtk_plot_csurface_get_lines_visible (GtkPlotCSurface *csurface);
|
a GtkPlotCSurface. |
Returns : |
void gtk_plot_csurface_set_projection (GtkPlotCSurface *csurface, GtkPlotProjection proj);
|
a GtkPlotCSurface. |
|
GtkPlotProjection gtk_plot_csurface_projection (GtkPlotCSurface *csurface);
|
a GtkPlotCSurface. |
Returns : |
void gtk_plot_csurface_set_levels_attributes (GtkPlotCSurface *dataset, GtkPlotLineStyle style, gfloat width, const GdkColor *color);
|
a GtkPlotCSurface. |
|
|
|
|
|
void gtk_plot_csurface_set_sublevels_attributes (GtkPlotCSurface *dataset, GtkPlotLineStyle style, gfloat width, const GdkColor *color);
|
a GtkPlotCSurface. |
|
|
|
|
|
void gtk_plot_csurface_get_levels_attributes (GtkPlotCSurface *dataset, GtkPlotLineStyle *style, gfloat *width, GdkColor *color);
|
a GtkPlotCSurface. |
|
|
|
|
|
void gtk_plot_csurface_get_sublevels_attributes (GtkPlotCSurface *dataset, GtkPlotLineStyle *style, gfloat *width, GdkColor *color);
|
a GtkPlotCSurface. |
|
|
|
|
|
"levels-style"
property"levels-style" gint : Read / Write
Allowed values: >= 0
Default value: 0
"levels-width"
property"levels-width" gdouble : Read / Write
Allowed values: >= 0
Default value: 0
"lines-visible"
property"lines-visible" gint : Read / Write
Allowed values: >= 0
Default value: 0
"sublevels-style"
property"sublevels-style" gint : Read / Write
Allowed values: >= 0
Default value: 0
"sublevels-width"
property"sublevels-width" gdouble : Read / Write
Allowed values: >= 0
Default value: 0