GwyGraphCurves

GwyGraphCurves — Graph curve list

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkTreeView
                    ╰── GwyGraphCurves

Implemented Interfaces

GwyGraphCurves implements AtkImplementorIface, GtkBuildable and GtkScrollable.

Includes

#include <libgwydgets/gwydgets.h>

Description

GwyGraphCurves displays the list of GwyGraphModel curve properties in a table. While it is a GtkTreeView, it uses a fixed simplistic tree model and its content is determined by the graph model. It is an error to modify the tree view structure.

Functions

gwy_graph_curves_new()

GtkWidget *
gwy_graph_curves_new (void);

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.

Returns

A new graph curve list.


gwy_graph_curves_new_with_model()

GtkWidget *
gwy_graph_curves_new_with_model (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.

Parameters

gmodel

A graph model.

 

Returns

A new graph curve list.


gwy_graph_curves_set_model()

void
gwy_graph_curves_set_model (GwyGraphCurves *curves,
                            GwyGraphModel *gmodel);

Changes the graph model a graph curve list.

Parameters

curves

A graph curve list.

 

gmodel

New graph model.

 

gwy_graph_curves_get_model()

GwyGraphModel *
gwy_graph_curves_get_model (GwyGraphCurves *curves);

Gets the graph model a graph curve list displays.

Parameters

curves

A graph curve list.

 

Returns

The graph model associated with this GwyGraphCurves widget.

Types and Values

struct GwyGraphCurves

struct GwyGraphCurves;

struct GwyGraphCurvesClass

struct GwyGraphCurvesClass {
    GtkTreeViewClass parent_class;

    void (*reserved1)(void);
    void (*reserved2)(void);
    void (*reserved3)(void);
    void (*reserved4)(void);
};