![]() | ![]() | ![]() | Gwyddion Widgets Library Reference Manual | ![]() |
---|
GwyGraphCurveModel — Representation of a one graph curve.
struct GwyGraphCurveModel; struct GwyGraphCurveModelClass; GObject* gwy_graph_curve_model_new (void); gboolean gwy_graph_curve_model_save_curve (GwyGraphCurveModel *gcmodel, GwyGraph *graph, gint index_); void gwy_graph_add_curve_from_model (GwyGraph *graph, GwyGraphCurveModel *gcmodel);
GwyGraphCurveModel represents information about a graph curve necessary to fully reconstruct it. It will be meaningfully used by the new generation of graph widgets and should be mostly ignored for now.
struct GwyGraphCurveModelClass { GObjectClass parent_class; void (*value_changed)(GwyGraphCurveModel *gcmodel); /* XXX: only formal */ gpointer reserved1; gpointer reserved2; gpointer reserved3; };
GObject* gwy_graph_curve_model_new (void);
Creates a new graph curve model.
With current generation of graph widgets it is useless without gwy_graph_curve_model_save_curve().
Returns : | New empty graph curve model as a GObject. |
gboolean gwy_graph_curve_model_save_curve (GwyGraphCurveModel *gcmodel, GwyGraph *graph, gint index_);
gcmodel : | |
graph : | |
index_ : | |
Returns : |
void gwy_graph_add_curve_from_model (GwyGraph *graph, GwyGraphCurveModel *gcmodel);
graph : | |
gcmodel : |
<< GwyGraphModel | 3D Widgets >> |