| Top | Description | Object Hierarchy | Implemented Interfaces |
#include <libgwydgets/gwydgets.h> struct GwyGraphCurves; struct GwyGraphCurvesClass; GtkWidget * gwy_graph_curves_new (GwyGraphModel *gmodel); void gwy_graph_curves_set_model (GwyGraphCurves *graph_curves,GwyGraphModel *gmodel); GwyGraphModel * gwy_graph_curves_get_model (GwyGraphCurves *graph_curves);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkTreeView +----GwyGraphCurves
GwyGraphCurves displays the list of GwyGraphModel curve properties in a table. While it is a GtkTreeView, it uses a simplistic tree model and its content is determined by the graph model.
struct GwyGraphCurvesClass {
GtkTreeViewClass parent_class;
void (*reserved1)(void);
void (*reserved2)(void);
void (*reserved3)(void);
void (*reserved4)(void);
};
GtkWidget * gwy_graph_curves_new (GwyGraphModel *gmodel);
Creates graph curve list widget based on information in graph model.
The GtkTreeModel and the columns follow the graph model and must not be changed manually.
|
A graph model. It can be NULL. |
Returns : |
A new graph curve list. |
Since 2.5
void gwy_graph_curves_set_model (GwyGraphCurves *graph_curves,GwyGraphModel *gmodel);
Changes the graph model a graph curve list.
|
A graph curve list. |
|
New graph model. |
Since 2.5
GwyGraphModel * gwy_graph_curves_get_model (GwyGraphCurves *graph_curves);
Gets the graph model a graph curve list displays.
|
A graph curve list. |
Returns : |
The graph model associated with this GwyGraphCurves widget. |
Since 2.5