GwyGraphCurveDialog

GwyGraphCurveDialog

Functions

Signals

void next Run First
void previous Run First

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkContainer
                ╰── GtkBin
                    ╰── GtkWindow
                        ╰── GtkDialog
                            ╰── GwyGraphCurveDialog

Implemented Interfaces

GwyGraphCurveDialog implements AtkImplementorIface and GtkBuildable.

Includes

#include <libgwydgets/gwydgets.h>

Description

Functions

gwy_graph_curve_dialog_new()

GtkWidget *
gwy_graph_curve_dialog_new (void);

gwy_graph_curve_dialog_new_with_model()

GtkWidget *
gwy_graph_curve_dialog_new_with_model (GwyGraphCurveModel *cmodel);

gwy_graph_curve_dialog_get_model()

GwyGraphCurveModel *
gwy_graph_curve_dialog_get_model (GwyGraphCurveDialog *dialog);

Gets the curve model of a graph curve property dialog.

Parameters

dialog

A graph curve property dialog.

 

Returns

The curve model.


gwy_graph_curve_dialog_set_model()

void
gwy_graph_curve_dialog_set_model (GwyGraphCurveDialog *dialog,
                                  GwyGraphCurveModel *cmodel);

Switches a graph curve property dialog to a new curve model.

Parameters

dialog

A graph curve property dialog.

 

cmodel

Graph curve model to switch to.

 

gwy_graph_curve_dialog_set_switching()

void
gwy_graph_curve_dialog_set_switching (GwyGraphCurveDialog *dialog,
                                      gboolean prev_possible,
                                      gboolean next_possible);

Types and Values

struct GwyGraphCurveDialog

struct GwyGraphCurveDialog;

struct GwyGraphCurveDialogClass

struct GwyGraphCurveDialogClass {
    GtkDialogClass parent_class;

    void (*next)(GwyGraphCurveDialog *dialog);
    void (*previous)(GwyGraphCurveDialog *dialog);

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

Signal Details

The “next” signal

void
user_function (GwyGraphCurveDialog *gwygraphareadialog,
               gpointer             user_data)

The ::next signal is emitted when the Next button is clicked and the next curve should be edited. The dialog itself does not switch curves because it only knows about the curve currently being edited.

Parameters

gwygraphareadialog

The GwyGraphCurveDialog which received the signal.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run First


The “previous” signal

void
user_function (GwyGraphCurveDialog *gwygraphareadialog,
               gpointer             user_data)

The ::previous signal is emitted when the Prev button is clicked and the previous curve should be edited. The dialog itself does not switch curves because it only knows about the curve currently being edited.

Parameters

gwygraphareadialog

The GwyGraphCurveDialog which received the signal.

 

user_data

user data set when the signal handler was connected.

 

Flags: Run First